scel: Fix mode-line update

`(force-mode-line-update)`  updates only the mode-line of  the current buffers. Providing a non-nil argument updates the mode-line of all buffers. This is particularly useful when having a split view with the server buffer and another buffer where current buffer is not the server buffer. (probably  a very common use case).
This commit is contained in:
Peter Vasil 2015-09-30 21:32:16 +02:00
parent 3ca01e04ed
commit 023b5a41c6

View file

@ -159,7 +159,7 @@
(interactive)
(sclang-set-server)
(setq sclang-server-info-string (sclang-get-server-info-string))
(force-mode-line-update))
(force-mode-line-update t))
;; =====================================================================
;; language control