mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Update advices for set-selected-window.
This commit is contained in:
parent
38a3930aff
commit
947312d209
2 changed files with 2 additions and 3 deletions
|
@ -380,8 +380,7 @@ If DEFAULT is non-nil, set the default mode-line for all buffers."
|
|||
|
||||
(add-hook 'window-configuration-change-hook #'doom-modeline-set-selected-window)
|
||||
(advice-add #'handle-switch-frame :after #'doom-modeline-set-selected-window)
|
||||
(advice-add #'select-window :after #'doom-modeline-set-selected-window)
|
||||
(advice-add #'make-frame :after #'doom-modeline-set-selected-window)
|
||||
(advice-add #'select-frame :after #'doom-modeline-set-selected-window)
|
||||
(advice-add #'delete-frame :after #'doom-modeline-set-selected-window)
|
||||
(with-no-warnings
|
||||
(cond ((not (boundp 'after-focus-change-function))
|
||||
|
|
|
@ -1223,7 +1223,7 @@ mouse-2: Show help for minor mode"
|
|||
"Mode line construct for miscellaneous information.
|
||||
By default, this shows the information specified by `global-mode-string'."
|
||||
(if (doom-modeline--active)
|
||||
'(" " mode-line-misc-info)))
|
||||
'("" mode-line-misc-info)))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue