diff options
author | Simon Marshall <[email protected]> | 1994-10-12 09:04:05 +0000 |
---|---|---|
committer | Simon Marshall <[email protected]> | 1994-10-12 09:04:05 +0000 |
commit | cad69fcd2bf21ae4c7bbf10386813ddcf641bb67 (patch) | |
tree | 63c1d757b110f6eb0efdf7c1fd7c7a2791d9cf0a /lisp/progmodes/perl-mode.el | |
parent | 7fa28db0caca03491b75707e776ee5add976726f (diff) |
* perl-mode.el: (perl-mode): Set font-lock-defaults.
Diffstat (limited to 'lisp/progmodes/perl-mode.el')
-rw-r--r-- | lisp/progmodes/perl-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index c46e66215c..08e32ea1e1 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -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 |