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:
parent
3ca01e04ed
commit
023b5a41c6
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@
|
||||||
(interactive)
|
(interactive)
|
||||||
(sclang-set-server)
|
(sclang-set-server)
|
||||||
(setq sclang-server-info-string (sclang-get-server-info-string))
|
(setq sclang-server-info-string (sclang-get-server-info-string))
|
||||||
(force-mode-line-update))
|
(force-mode-line-update t))
|
||||||
|
|
||||||
;; =====================================================================
|
;; =====================================================================
|
||||||
;; language control
|
;; language control
|
||||||
|
|
Loading…
Reference in a new issue