From 2ab3bf87ff05dfd6919442ef8bfae0f8804fb956 Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Wed, 12 Oct 1994 09:21:47 +0000 Subject: [PATCH] * texinfo.el: (texinfo-mode): Set font-lock-defaults. --- lisp/textmodes/texinfo.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 66037ea396a..5067b629ee9 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el @@ -385,8 +385,8 @@ value of texinfo-mode-hook." (setq comment-start-skip "@c +") (make-local-variable 'words-include-escapes) (setq words-include-escapes t) - (make-local-variable 'font-lock-keywords) - (setq font-lock-keywords texinfo-font-lock-keywords) + (make-local-variable 'font-lock-defaults) + (setq font-lock-defaults '(texinfo-font-lock-keywords)) (make-local-variable 'tex-start-of-header) (setq tex-start-of-header "%**start") (make-local-variable 'tex-end-of-header) -- 2.39.5