aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall1994-10-12 08:13:56 +0000
committerSimon Marshall1994-10-12 08:13:56 +0000
commit63a2daf6d002d96e05179e9e32225b4333b4361f (patch)
tree831660255d5d7b89243e9a095806d5859371673e
parent788a3a2b2256c7ee64c94c4d6677ba34e124d910 (diff)
downloademacs-63a2daf6d002d96e05179e9e32225b4333b4361f.tar.gz
emacs-63a2daf6d002d96e05179e9e32225b4333b4361f.zip
* compile.el: (compilation-mode): Set font-lock-defaults.
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index cbe125b7114..83d4e3ef15a 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -478,8 +478,8 @@ Runs `compilation-mode-hook' with `run-hooks' (which see)."
478 (setq major-mode 'compilation-mode 478 (setq major-mode 'compilation-mode
479 mode-name "Compilation") 479 mode-name "Compilation")
480 (compilation-setup) 480 (compilation-setup)
481 (set (make-local-variable 'font-lock-keywords) 481 (set (make-local-variable 'font-lock-defaults)
482 compilation-mode-font-lock-keywords) 482 '(compilation-mode-font-lock-keywords t))
483 (run-hooks 'compilation-mode-hook)) 483 (run-hooks 'compilation-mode-hook))
484 484
485;; Prepare the buffer for the compilation parsing commands to work. 485;; Prepare the buffer for the compilation parsing commands to work.