diff options
| author | Eli Zaretskii | 2012-12-07 17:52:40 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-12-07 17:52:40 +0200 |
| commit | 8d43bd30230ee2315aade40db688716679ebcf7c (patch) | |
| tree | 4b721f1f46d75c87b7fc2672a4f27f7e8065341f | |
| parent | 81d8cc5377be3560177ee576d314fe4331e275c3 (diff) | |
| download | emacs-8d43bd30230ee2315aade40db688716679ebcf7c.tar.gz emacs-8d43bd30230ee2315aade40db688716679ebcf7c.zip | |
Fix insertion of " inside @smallexample.
lisp/textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b7b62badc2..ff604d0236b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-07 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/texinfo.el (texinfo-enable-quote-envs): Add | ||
| 4 | "smallexample". | ||
| 5 | |||
| 1 | 2012-12-07 Le Wang <l26wang@gmail.com> | 6 | 2012-12-07 Le Wang <l26wang@gmail.com> |
| 2 | 7 | ||
| 3 | * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in | 8 | * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in |
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. |
| 682 | Usually inserts the value of `texinfo-open-quote' (normally ``) or | 683 | Usually inserts the value of `texinfo-open-quote' (normally ``) or |