* lisp/progmodes/compile.el (compilation-filter): Use font-lock-ensure
to update the number of errors in compilation-mode-line-errors displayed in the mode-line. (Bug#36564)
This commit is contained in:
parent
53fb021acc
commit
ef6715364d
1 changed files with 2 additions and 0 deletions
|
@ -2245,6 +2245,8 @@ and runs `compilation-filter-hook'."
|
|||
(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))
|
||||
|
|
Loading…
Add table
Reference in a new issue