summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-10-25 05:22:30 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-10-25 05:22:30 +0000
commit3bd171d52c88b87f75561700dace2f8a86675be9 (patch)
treefd87144d2066918b27cf47fd737f4c84e50d4e3a /lisp/textmodes
parent5fbf2e842d97a96635a1ab1947ee59045c3fb76c (diff)
downloademacs-3bd171d52c88b87f75561700dace2f8a86675be9.tar.gz
(font-lock-keywords): Make sure texinfo-clone-environment is called.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/texinfo.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 6a1223da9e6..5cdcd317775 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -359,7 +359,7 @@ Subexpression 1 is what goes into the corresponding `@end' statement.")
("@\\(dmn\\|acronym\\|value\\){\\([^}]+\\)" 2 font-lock-builtin-face)
("@\\(end\\|itemx?\\) +\\(.+\\)" 2 font-lock-keyword-face keep)
(,texinfo-environment-regexp
- 1 (texinfo-clone-environment (match-beginning 1) (match-end 1)))
+ 1 (texinfo-clone-environment (match-beginning 1) (match-end 1)) keep)
(,(concat "^@" (regexp-opt (mapcar 'car texinfo-section-list) t)
".*\n") 0 texinfo-heading-face t))
"Additional expressions to highlight in TeXinfo mode.")