Always show window numbers in all frames.

This commit is contained in:
Vincent Zhang 2018-07-02 20:31:11 +08:00
parent 28000c45f4
commit ff3bd48b34

View file

@ -901,8 +901,7 @@ Returns \"\" to not break --no-window-system."
((bound-and-true-p window-numbering-mode)
(window-numbering-get-number-string))
(t ""))))
(if (and (< 0 (length num))
(< 2 (length (window-list nil 'ignore))))
(if (< 0 (length num))
(propertize (format " %s " num)
'face (if (doom-modeline--active)
'doom-modeline-bar