diff lisp/progmodes/compile.el @ 9473:b0cc803bf367

* compile.el: (compilation-mode): Set font-lock-defaults.
author Simon Marshall <simon@gnu.org>
date Wed, 12 Oct 1994 08:13:56 +0000
parents f0ac347309e2
children 3b5dbd9c44f5
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Wed Oct 12 08:06:09 1994 +0000
+++ b/lisp/progmodes/compile.el	Wed Oct 12 08:13:56 1994 +0000
@@ -478,8 +478,8 @@
   (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.