diff --git a/doom-modeline.el b/doom-modeline.el index c239c99..054c4e6 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -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