1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(font-lock-keywords): Make sure texinfo-clone-environment is called.

This commit is contained in:
Stefan Monnier 2001-10-25 05:22:30 +00:00
parent 5fbf2e842d
commit 3bd171d52c

View File

@ -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.")