mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 11:09:54 +00:00
Fix: Support frame for window number.
This commit is contained in:
parent
93517eb854
commit
1e5a5b6d7b
2 changed files with 2 additions and 2 deletions
|
@ -1257,7 +1257,7 @@ one. The ignored buffers are excluded unless `aw-ignore-on' is nil."
|
|||
(t ""))))
|
||||
(if (and (< 0 (length num))
|
||||
(< (if (active-minibuffer-window) 2 1)
|
||||
(length (window-list))))
|
||||
(length (cl-mapcan #'window-list (visible-frame-list)))))
|
||||
(propertize (format " %s " num)
|
||||
'face (if (doom-modeline--active)
|
||||
'doom-modeline-buffer-major-mode
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Vincent Zhang <seagle0128@gmail.com>
|
||||
;; Homepage: https://github.com/seagle0128/doom-modeline
|
||||
;; Version: 2.1.1
|
||||
;; Version: 2.1.2
|
||||
;; Package-Requires: ((emacs "25.1") (all-the-icons "1.0.0") (shrink-path "0.2.0") (dash "2.11.0"))
|
||||
;; Keywords: faces mode-line
|
||||
|
||||
|
|
Loading…
Reference in a new issue