1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

This commit is contained in:
Stefan Monnier 2004-04-12 04:36:01 +00:00
parent 7bbdf1cb6e
commit 544dccaa20

View file

@ -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.