mirror of
https://github.com/correl/doom-modeline.git
synced 2024-12-26 03:00:06 +00:00
Revert: Refresh the mode-line forcedly after switching frames.
Revert 62f48c062e
.
Close #186.
This commit is contained in:
parent
28ca62c735
commit
118f7084ff
1 changed files with 0 additions and 3 deletions
|
@ -441,9 +441,6 @@ If the actual char height is larger, it respects the actual char height.")
|
|||
(add-hook 'after-make-frame-functions #'doom-modeline-set-selected-window)
|
||||
(add-hook 'delete-frame-functions #'doom-modeline-set-selected-window)
|
||||
(advice-add #'handle-switch-frame :after #'doom-modeline-set-selected-window)
|
||||
(advice-add #'handle-switch-frame :after #'(lambda (&rest _)
|
||||
"Rever the current buffer."
|
||||
(ignore-errors (revert-buffer t t))))
|
||||
(with-no-warnings
|
||||
(cond ((not (boundp 'after-focus-change-function))
|
||||
(add-hook 'focus-in-hook #'doom-modeline-set-selected-window)
|
||||
|
|
Loading…
Reference in a new issue