branch: master
commit 0d92006d64b67c4d451ff6cb077d9355c984d4c0
Author: Ian D <du...@gnu.org>
Commit: Ian D <du...@gnu.org>

    (enwc-update-mode-line): Forces the mode line to update when ENWC updates 
its current signal.
---
 lisp/enwc.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/enwc.el b/lisp/enwc.el
index 2d6e455..aba6027 100644
--- a/lisp/enwc.el
+++ b/lisp/enwc.el
@@ -455,7 +455,9 @@ This is initiated during setup, and runs once every second."
                                      (if conn
                                          "*"
                                        (number-to-string str))
-                                     "%] "))))
+                                     "%] "))
+    (force-mode-line-update)))
+
 (defun enwc-enable-display-mode-line ()
   "Enables the mode line display."
   (interactive)

Reply via email to