mirror of
https://github.com/correl/doom-modeline.git
synced 2024-12-24 03:00:09 +00:00
Fix: incorrect mode-line while global-mode-string is empty.
This commit is contained in:
parent
773382202e
commit
a020a1e021
1 changed files with 3 additions and 2 deletions
|
@ -1034,8 +1034,9 @@ enabled."
|
|||
|
||||
(doom-modeline-def-segment global
|
||||
"For the time string and whatever uses global-mode-string."
|
||||
(when (< 0 (length global-mode-string))
|
||||
'(" " global-mode-string " ")))
|
||||
(if (< 0 (length global-mode-string))
|
||||
'(" " global-mode-string " ")
|
||||
""))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue