Commit ef671536 authored by Juri Linkov's avatar Juri Linkov

* 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)
parent 53fb021a
Pipeline #2377 passed with stage
in 53 minutes and 8 seconds
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment