]> git.eshelyaron.com Git - emacs.git/commitdiff
* texinfo.el: (texinfo-mode): Set font-lock-defaults.
authorSimon Marshall <simon@gnu.org>
Wed, 12 Oct 1994 09:21:47 +0000 (09:21 +0000)
committerSimon Marshall <simon@gnu.org>
Wed, 12 Oct 1994 09:21:47 +0000 (09:21 +0000)
lisp/textmodes/texinfo.el

index 66037ea396a75c78951fd39ed695c8e709623ab6..5067b629ee9c9532bcc08c727c1233e33260918c 100644 (file)
@@ -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)