mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 17:31:37 -05:00
Fix flicker issue with hydra.
Don't redisplay in fit-window-to-buffer. https://emacs-china.org/t/hydra-doom-modeline/11537/2 https://github.com/seagle0128/doom-modeline/issues/183
This commit is contained in:
parent
6fcf65d2ef
commit
5fef621061
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ If DEFAULT is non-nil, set the default mode-line for all buffers."
|
|||
(unless doom-modeline--size-hacked-p
|
||||
(setq doom-modeline--size-hacked-p t)
|
||||
(redisplay t)))
|
||||
(advice-add #'fit-window-to-buffer :before #'doom-modeline-redisplay)
|
||||
;; (advice-add #'fit-window-to-buffer :before #'doom-modeline-redisplay)
|
||||
(advice-add #'resize-temp-buffer-window :before #'doom-modeline-redisplay)
|
||||
|
||||
;; Keep `doom-modeline-current-window' up-to-date
|
||||
|
|
Loading…
Add table
Reference in a new issue