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

index c46e66215cb06ba054708f658b5f93e987bf7dd8..08e32ea1e144926980c3a7167617445042da7d56 100644 (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))
 \f
 ;; This is used by indent-for-comment