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:
Henrik Lissner 2020-08-20 02:16:11 -04:00
parent 3580a3f0d8
commit a1fc5886cc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)