1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

* perl-mode.el: (perl-mode): Set font-lock-defaults.

This commit is contained in:
Simon Marshall 1994-10-12 09:04:05 +00:00
parent 7fa28db0ca
commit cad69fcd2b

View file

@ -268,8 +268,8 @@ Turning on Perl mode runs the normal hook `perl-mode-hook'."
(setq comment-indent-function 'perl-comment-indent)
(make-local-variable 'parse-sexp-ignore-comments)
(setq parse-sexp-ignore-comments t)
(make-local-variable 'font-lock-keywords)
(setq font-lock-keywords perl-font-lock-keywords)
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(perl-font-lock-keywords))
(run-hooks 'perl-mode-hook))
;; This is used by indent-for-comment