mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Fix an issue that may cause rhs disappeared
If the first element of a list is a symbol, the list will be a conditional depending on the value of that symbol.
This commit is contained in:
parent
1fd66c449c
commit
7e6b895206
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ active.")
|
|||
(rhs-forms (doom-modeline--prepare-segments rhs)))
|
||||
(defalias sym
|
||||
(lambda ()
|
||||
(let ((rhs-str (format-mode-line rhs-forms)))
|
||||
(let ((rhs-str (format-mode-line (cons "" rhs-forms))))
|
||||
(list lhs-forms
|
||||
(propertize
|
||||
" " 'display
|
||||
|
|
Loading…
Reference in a new issue