diff options
| -rw-r--r-- | lisp/progmodes/compile.el | 2 |
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. |