From bd443322a2f55d459dd1df46d9bc760f05a1b949 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 29 Jan 2018 19:34:06 -0500 Subject: [PATCH] A slightly more efficient unstyled-mode-line fix --- core/core-ui.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index 9b2d00144..538947633 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -37,8 +37,8 @@ shorter major mode name in the mode-line. See `doom|set-mode-name'.") with `doom//reload-theme').") ;; Prevents the unstyled mode-line flash at startup -(with-current-buffer (switch-to-buffer "*scratch*") - (setq mode-line-format nil)) +(set-buffer "*scratch*") +(setq mode-line-format nil) (setq-default bidi-display-reordering nil ; disable bidirectional text for tiny performance boost