From: Stefan Monnier Date: Thu, 25 Oct 2001 05:22:30 +0000 (+0000) Subject: (font-lock-keywords): Make sure texinfo-clone-environment is called. X-Git-Tag: ttn-vms-21-2-B4~19174 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3bd171d52c88b87f75561700dace2f8a86675be9;p=emacs.git (font-lock-keywords): Make sure texinfo-clone-environment is called. --- 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.")