From: Simon Marshall Date: Wed, 12 Oct 1994 08:13:56 +0000 (+0000) Subject: * compile.el: (compilation-mode): Set font-lock-defaults. X-Git-Tag: emacs-19.34~6381 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=63a2daf6d002d96e05179e9e32225b4333b4361f;p=emacs.git * compile.el: (compilation-mode): Set font-lock-defaults. --- 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)." (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.