]> git.eshelyaron.com Git - emacs.git/commitdiff
* eglot.el (eglot-clear-status): remember to update modeline
authorJoão Távora <joaotavora@gmail.com>
Sat, 19 May 2018 12:12:08 +0000 (13:12 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 19 May 2018 12:12:08 +0000 (13:12 +0100)
lisp/progmodes/eglot.el

index 3635e47b625ded947a7a353ac1cfe4d90d2fa31f..9d5ef805350bbcf284a3f57e6648ce8a87194f7d 100644 (file)
@@ -589,7 +589,8 @@ is a symbol saying if this is a client or server originated."
 (defun eglot-clear-status (process)
   "Clear most recent error message from PROCESS."
   (interactive (list (eglot--current-process-or-lose)))
-  (setf (eglot--status process) nil))
+  (setf (eglot--status process) nil)
+  (force-mode-line-update t))
 
 (defun eglot--call-deferred (proc)
   "Call PROC's deferred actions, who may again defer themselves."