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

index cbe125b7114139f08656aaa97daa113a39f4495f..83d4e3ef15a5ce18eab11d7a0d3771d26b175819 100644 (file)
@@ -478,8 +478,8 @@ Runs `compilation-mode-hook' with `run-hooks' (which see)."
   (setq major-mode 'compilation-mode
        mode-name "Compilation")
   (compilation-setup)
-  (set (make-local-variable 'font-lock-keywords)
-       compilation-mode-font-lock-keywords)
+  (set (make-local-variable 'font-lock-defaults)
+       '(compilation-mode-font-lock-keywords t))
   (run-hooks 'compilation-mode-hook))
 
 ;; Prepare the buffer for the compilation parsing commands to work.