From ee52cccc8f674ac6df35b44c229cd16377c38629 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Thu, 26 Feb 2015 23:25:25 -0300 Subject: Fix quote -> code --- sx-question-print.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sx-question-print.el b/sx-question-print.el index a575407..2ac30d2 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -443,9 +443,8 @@ END should be a marker." ;; Searching for a match has no bounds. nil 'noerror) (let ((r (copy-marker (match-beginning 0)))) - ;; The code tag is special, because it quotes everything in - ;; the middle. - (if (string= tag "quote") + ;; The code tag is special, because it quotes everything inside. + (if (string= tag "code") (progn (replace-match "`") (save-excursion (goto-char l) (insert "`"))) (replace-match "") -- cgit v1.2.3