mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
Replace and
with when
This commit is contained in:
parent
87de449996
commit
a37333ad7a
1 changed files with 2 additions and 2 deletions
|
@ -1433,8 +1433,8 @@ Requires `eyebrowse-mode' or `tab-bar-mode' to be enabled."
|
|||
(when (or doom-modeline-display-default-persp-name
|
||||
(not (string-equal persp-nil-name name)))
|
||||
(concat (doom-modeline-spc)
|
||||
(propertize (concat (and doom-modeline-persp-icon
|
||||
(concat icon (doom-modeline-vspc)))
|
||||
(propertize (concat (when doom-modeline-persp-icon
|
||||
(concat icon (doom-modeline-vspc)))
|
||||
(propertize name 'face face))
|
||||
'help-echo "mouse-1: Switch perspective
|
||||
mouse-2: Show help for minor mode"
|
||||
|
|
Loading…
Add table
Reference in a new issue