Fix #3710: remove ineffective advice
This fix was meant to fix #2219, but didn't actually work, and was causing odd "C-g is invalid" errors in #3710.
This commit is contained in:
parent
3580a3f0d8
commit
a1fc5886cc
1 changed files with 0 additions and 9 deletions
|
@ -4,15 +4,6 @@
|
||||||
(load! "+light"))
|
(load! "+light"))
|
||||||
|
|
||||||
|
|
||||||
(defvar +modeline--redisplayed-p nil)
|
|
||||||
(defadvice! modeline-recalculate-height-a (&optional _force &rest _ignored)
|
|
||||||
"Ensure that window resizing functions take modeline height into account."
|
|
||||||
:before '(fit-window-to-buffer resize-temp-buffer-window)
|
|
||||||
(unless +modeline--redisplayed-p
|
|
||||||
(setq-local +modeline--redisplayed-p t)
|
|
||||||
(redisplay t)))
|
|
||||||
|
|
||||||
|
|
||||||
(use-package! doom-modeline
|
(use-package! doom-modeline
|
||||||
:unless (featurep! +light)
|
:unless (featurep! +light)
|
||||||
:hook (after-init . doom-modeline-mode)
|
:hook (after-init . doom-modeline-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue