From 3bd171d52c88b87f75561700dace2f8a86675be9 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 25 Oct 2001 05:22:30 +0000 Subject: [PATCH] (font-lock-keywords): Make sure texinfo-clone-environment is called. --- lisp/textmodes/texinfo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 6a1223da9e..5cdcd31777 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.") -- 2.20.1