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:
parent
7fa28db0ca
commit
cad69fcd2b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue