mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-04 08:51:39 -05:00
Improve force redisplay advice.
The issue has been fixed in 29. The workaround should only work for old versions.
This commit is contained in:
parent
36fed6d1a1
commit
05b213ff98
1 changed files with 2 additions and 1 deletions
|
@ -825,7 +825,8 @@ used as an advice to window creation functions."
|
|||
mode-line-format
|
||||
(/= (frame-char-height) (window-mode-line-height)))
|
||||
(redisplay t)))
|
||||
(advice-add 'split-window :after #'doom-modeline-redisplay)
|
||||
(unless (>= emacs-major-version 29)
|
||||
(advice-add 'split-window :after #'doom-modeline-redisplay))
|
||||
|
||||
;; Keep `doom-modeline-current-window' up-to-date
|
||||
(defun doom-modeline--get-current-window (&optional frame)
|
||||
|
|
Loading…
Add table
Reference in a new issue