mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user