[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ef67153: * lisp/progmodes/compile.el (compilation-f
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] master ef67153: * lisp/progmodes/compile.el (compilation-filter): Use font-lock-ensure |
Date: |
Thu, 11 Jul 2019 17:46:19 -0400 (EDT) |
branch: master
commit ef6715364dd94f98dcdf60ff295c89ac856de882
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>
* 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)
---
lisp/progmodes/compile.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 1a0d9bd..a1df67f 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ef67153: * lisp/progmodes/compile.el (compilation-filter): Use font-lock-ensure,
Juri Linkov <=