mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Ignore minibuffer while counting windows.
This commit is contained in:
parent
b8e73dc982
commit
4ef93c7aab
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ Returns \"\" to not break --no-window-system."
|
|||
|
||||
(doom-modeline-def-segment window-number
|
||||
(if (and (bound-and-true-p window-numbering-mode)
|
||||
(< 2 (length (window-list))))
|
||||
(< 2 (length (window-list nil 'ignore))))
|
||||
(propertize (format " %s " (window-numbering-get-number-string))
|
||||
'face (if (doom-modeline--active)
|
||||
'doom-modeline-bar
|
||||
|
|
Loading…
Reference in a new issue