using force-mode-line-update just in case.
This commit is contained in:
parent
5a657b9df8
commit
f799ff1ee8
@ -107,10 +107,12 @@ nil does not display errors/warnings.
|
|||||||
(let* ((errs (ghc-filter 'ghc-hilit-info-get-err infos))
|
(let* ((errs (ghc-filter 'ghc-hilit-info-get-err infos))
|
||||||
(elen (length errs))
|
(elen (length errs))
|
||||||
(wlen (- len elen)))
|
(wlen (- len elen)))
|
||||||
(setq mode-line-process (format " %d:%d" elen wlen))))))))
|
(setq mode-line-process (format " %d:%d" elen wlen)))))
|
||||||
|
(force-mode-line-update))))
|
||||||
(t
|
(t
|
||||||
(ghc-with-current-buffer ghc-process-original-buffer
|
(ghc-with-current-buffer ghc-process-original-buffer
|
||||||
(setq mode-line-process " failed")))))
|
(setq mode-line-process " failed")
|
||||||
|
(force-mode-line-update)))))
|
||||||
|
|
||||||
(defun ghc-to-info (errs)
|
(defun ghc-to-info (errs)
|
||||||
;; [^\t] to include \n.
|
;; [^\t] to include \n.
|
||||||
|
Loading…
Reference in New Issue
Block a user