diff options
-rw-r--r-- | sx-question-print.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index 2acd789..8d61773 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -463,9 +463,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 "") |