diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 1a0d9bdbb7..7b319e9947 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -2245,6 +2250,8 @@ compilation-filter (unless comint-inhibit-carriage-motion (comint-carriage-motion (process-mark proc) (point))) (set-marker (process-mark proc) (point)) + ;; Update the number of errors in compilation-mode-line-errors + (font-lock-ensure compilation-filter-start (point)) ;; (set (make-local-variable 'compilation-buffer-modtime) ;; (current-time)) (run-hooks 'compilation-filter-hook))