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

index 8a26c65ccc95b255b6764fae13bcbce318820bd5..78234bb5518a4e77c8f935641d3437d97633f667 100644 (file)
@@ -322,8 +322,8 @@ no args, if that value is non-nil."
   (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))
 
 \f