changeset 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 a8077b802b9e
children 8a36332efbf2
files lisp/progmodes/pascal.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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))