Commit 544dccaa authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(compilation-mode-font-lock-keywords): Fix test not to treat nil as a function.

parent 7bbdf1cb
......@@ -679,7 +679,7 @@ Faces `compilation-error-face', `compilation-warning-face',
(if (consp line) (setq end-line (cdr line) line (car line)))
(if (consp col) (setq end-col (cdr col) col (car col)))
(if (symbolp line)
(if (functionp line)
;; The old compile.el had here an undocumented hook that
;; allowed `line' to be a function that computed the actual
;; error location. Let's do our best.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment