aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-26 23:25:25 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-26 23:25:25 -0300
commitee52cccc8f674ac6df35b44c229cd16377c38629 (patch)
treee24f2776bc592dbc96468ce5772bd6c4b39aca88
parentbe15643b64b64e5fcbcdc213c90a5fa9cd41e9df (diff)
Fix quote -> code
-rw-r--r--sx-question-print.el5
1 files 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 "")