[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 17b7740 05/15: * eglot.el (eglot-clear-status): R

From: João Távora
Subject: [elpa] externals/eglot 17b7740 05/15: * eglot.el (eglot-clear-status): Remember to update modeline
Date: Sun, 20 May 2018 19:59:02 -0400 (EDT)

branch: externals/eglot
commit 17b774033a04d03f3a955e9e283a7aaac655de14
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    * eglot.el (eglot-clear-status): Remember to update modeline
 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 3635e47..9d5ef80 100644
--- a/eglot.el
+++ b/eglot.el
@@ -589,7 +589,8 @@ is a symbol saying if this is a client or server 
 (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."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]