aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-04-12 04:36:01 +0000
committerStefan Monnier2004-04-12 04:36:01 +0000
commit544dccaa206dc933394bdca06288a67a70cf4fb5 (patch)
tree67ec2318ca503d68b754986b520f741281f13fc0
parent7bbdf1cb6e9d781df9d8aaf2fd44128d2da28016 (diff)
downloademacs-544dccaa206dc933394bdca06288a67a70cf4fb5.tar.gz
emacs-544dccaa206dc933394bdca06288a67a70cf4fb5.zip
(compilation-mode-font-lock-keywords): Fix test not to treat nil as a function.
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 9d2544628d0..de90c2aa378 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -679,7 +679,7 @@ Faces `compilation-error-face', `compilation-warning-face',
679 (if (consp line) (setq end-line (cdr line) line (car line))) 679 (if (consp line) (setq end-line (cdr line) line (car line)))
680 (if (consp col) (setq end-col (cdr col) col (car col))) 680 (if (consp col) (setq end-col (cdr col) col (car col)))
681 681
682 (if (symbolp line) 682 (if (functionp line)
683 ;; The old compile.el had here an undocumented hook that 683 ;; The old compile.el had here an undocumented hook that
684 ;; allowed `line' to be a function that computed the actual 684 ;; allowed `line' to be a function that computed the actual
685 ;; error location. Let's do our best. 685 ;; error location. Let's do our best.