aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorEli Zaretskii2012-12-07 17:52:40 +0200
committerEli Zaretskii2012-12-07 17:52:40 +0200
commit8d43bd30230ee2315aade40db688716679ebcf7c (patch)
tree4b721f1f46d75c87b7fc2672a4f27f7e8065341f /lisp/textmodes
parent81d8cc5377be3560177ee576d314fe4331e275c3 (diff)
downloademacs-8d43bd30230ee2315aade40db688716679ebcf7c.tar.gz
emacs-8d43bd30230ee2315aade40db688716679ebcf7c.zip
Fix insertion of " inside @smallexample.
lisp/textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/texinfo.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 4e7715dcea9..52b9ab092ae 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -676,7 +676,8 @@ Puts point on a blank line between them."
676 (not (match-end 1))))) 676 (not (match-end 1)))))
677 677
678(defvar texinfo-enable-quote-macros "@\\(code\\|samp\\|kbd\\)\\>") 678(defvar texinfo-enable-quote-macros "@\\(code\\|samp\\|kbd\\)\\>")
679(defvar texinfo-enable-quote-envs '("example\\>" "lisp\\>")) 679(defvar texinfo-enable-quote-envs
680 '("example\\>" "smallexample\\>" "lisp\\>"))
680(defun texinfo-insert-quote (&optional arg) 681(defun texinfo-insert-quote (&optional arg)
681 "Insert the appropriate quote mark for Texinfo. 682 "Insert the appropriate quote mark for Texinfo.
682Usually inserts the value of `texinfo-open-quote' (normally ``) or 683Usually inserts the value of `texinfo-open-quote' (normally ``) or