comparison lisp/textmodes/texinfo.el @ 9486:66079477d0e6

* texinfo.el: (texinfo-mode): Set font-lock-defaults.
author Simon Marshall <simon@gnu.org>
date Wed, 12 Oct 1994 09:21:47 +0000
parents 798467725c8d
children 53b3d5117779
comparison
equal deleted inserted replaced
9485:2685c7803c18 9486:66079477d0e6
383 (setq comment-start "@c ") 383 (setq comment-start "@c ")
384 (make-local-variable 'comment-start-skip) 384 (make-local-variable 'comment-start-skip)
385 (setq comment-start-skip "@c +") 385 (setq comment-start-skip "@c +")
386 (make-local-variable 'words-include-escapes) 386 (make-local-variable 'words-include-escapes)
387 (setq words-include-escapes t) 387 (setq words-include-escapes t)
388 (make-local-variable 'font-lock-keywords) 388 (make-local-variable 'font-lock-defaults)
389 (setq font-lock-keywords texinfo-font-lock-keywords) 389 (setq font-lock-defaults '(texinfo-font-lock-keywords))
390 (make-local-variable 'tex-start-of-header) 390 (make-local-variable 'tex-start-of-header)
391 (setq tex-start-of-header "%**start") 391 (setq tex-start-of-header "%**start")
392 (make-local-variable 'tex-end-of-header) 392 (make-local-variable 'tex-end-of-header)
393 (setq tex-end-of-header "%**end") 393 (setq tex-end-of-header "%**end")
394 (run-hooks 'text-mode-hook 'texinfo-mode-hook)) 394 (run-hooks 'text-mode-hook 'texinfo-mode-hook))