From d97080620efb1e39f1b9f6dece1de77c45c827e4 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 28 Oct 2018 03:07:54 +0800 Subject: [PATCH] Revert "Update mode-line forcely after making a new frame." This reverts commit 6e30cfad01e6b995d36489fc7cfae6898fee88b2. --- doom-modeline.el | 1 - 1 file changed, 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index d99a1ac..dc62a64 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -390,7 +390,6 @@ active.") (setq doom-modeline-current-window nil) (force-mode-line-update)) -(add-hook 'after-make-frame-functions (lambda () (force-mode-line-update))) (add-hook 'window-configuration-change-hook #'doom-modeline-set-selected-window) (advice-add #'handle-switch-frame :after #'doom-modeline-set-selected-window) (advice-add #'select-window :after #'doom-modeline-set-selected-window)