From ff3bd48b34e70b87208d2bdde998130be58d4140 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Mon, 2 Jul 2018 20:31:11 +0800 Subject: [PATCH] Always show window numbers in all frames. --- doom-modeline.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index fe0c7f6..7357f40 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -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