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:
parent
7bbdf1cb6e
commit
544dccaa20
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue