From 63a2daf6d002d96e05179e9e32225b4333b4361f Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Wed, 12 Oct 1994 08:13:56 +0000 Subject: [PATCH] * compile.el: (compilation-mode): Set font-lock-defaults. --- lisp/progmodes/compile.el | 4 ++-- 1 file 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)." (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. -- 2.39.5