mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 17:31:37 -05:00
Fix: flash window number while refreshing this buffer.
This commit is contained in:
parent
489a75ae49
commit
9df9260ab3
1 changed files with 4 additions and 4 deletions
|
@ -1011,7 +1011,7 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
|
||||||
;; window number
|
;; window number
|
||||||
;;
|
;;
|
||||||
|
|
||||||
;; Fix `ace-window-display' doesn't respect the ignore buffers.
|
;; HACK: `ace-window-display-mode' should respect the ignore buffers.
|
||||||
(defun doom-modeline-aw-update ()
|
(defun doom-modeline-aw-update ()
|
||||||
"Update ace-window-path window parameter for all windows.
|
"Update ace-window-path window parameter for all windows.
|
||||||
|
|
||||||
|
@ -1036,9 +1036,9 @@ one. The ignored buffers are excluded unless `aw-ignore-on' is nil."
|
||||||
(doom-modeline-def-segment window-number
|
(doom-modeline-def-segment window-number
|
||||||
(let ((num (cond
|
(let ((num (cond
|
||||||
((bound-and-true-p ace-window-display-mode)
|
((bound-and-true-p ace-window-display-mode)
|
||||||
(setq mode-line-format
|
(setq-default mode-line-format
|
||||||
(assq-delete-all 'ace-window-display-mode
|
(assq-delete-all 'ace-window-display-mode
|
||||||
(default-value 'mode-line-format)))
|
(default-value 'mode-line-format)))
|
||||||
(aw-update)
|
(aw-update)
|
||||||
(window-parameter (selected-window) 'ace-window-path))
|
(window-parameter (selected-window) 'ace-window-path))
|
||||||
((bound-and-true-p winum-mode)
|
((bound-and-true-p winum-mode)
|
||||||
|
|
Loading…
Add table
Reference in a new issue