diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-26 23:25:25 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-26 23:25:25 -0300 |
commit | ee52cccc8f674ac6df35b44c229cd16377c38629 (patch) | |
tree | e24f2776bc592dbc96468ce5772bd6c4b39aca88 /sx-question-print.el | |
parent | be15643b64b64e5fcbcdc213c90a5fa9cd41e9df (diff) |
Fix quote -> code
Diffstat (limited to 'sx-question-print.el')
-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 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 "") |