Mercurial > emacs
changeset 9480:8a36332efbf2
* perl-mode.el: (perl-mode): Set font-lock-defaults.
author | Simon Marshall <simon@gnu.org> |
---|---|
date | Wed, 12 Oct 1994 09:04:05 +0000 |
parents | ef7c2b4dfee4 |
children | d39103e3eea2 |
files | lisp/progmodes/perl-mode.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/perl-mode.el Wed Oct 12 09:02:43 1994 +0000 +++ b/lisp/progmodes/perl-mode.el Wed Oct 12 09:04:05 1994 +0000 @@ -268,8 +268,8 @@ (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