Mercurial > emacs
diff lisp/progmodes/pascal.el @ 9479:ef7c2b4dfee4
* pascal.el: (pascal-mode): Set font-lock-defaults.
| author | Simon Marshall <simon@gnu.org> |
|---|---|
| date | Wed, 12 Oct 1994 09:02:43 +0000 |
| parents | ccd27c6ef48d |
| children | 034609a036b1 |
line wrap: on
line diff
--- a/lisp/progmodes/pascal.el Wed Oct 12 09:00:56 1994 +0000 +++ b/lisp/progmodes/pascal.el Wed Oct 12 09:02:43 1994 +0000 @@ -322,8 +322,8 @@ (setq comment-start-skip "(\\*+ *\\|{ *") (make-local-variable 'comment-end) (setq comment-end "}") - (make-local-variable 'font-lock-keywords) - (setq font-lock-keywords pascal-font-lock-keywords) + (make-local-variable 'font-lock-defaults) + (setq font-lock-defaults '(pascal-font-lock-keywords nil t)) (run-hooks 'pascal-mode-hook))
