mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-24 03:00:10 +00:00
Fix: flash window number while re-enabling ace-window-display-mode
.
This commit is contained in:
parent
9df9260ab3
commit
c7251193bb
1 changed files with 4 additions and 3 deletions
|
@ -1036,9 +1036,10 @@ 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-default mode-line-format
|
(setq 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)))
|
||||||
|
(setq-default mode-line-format 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…
Reference in a new issue