Truly prevent unstyled mode-line flash at startup

This commit is contained in:
Henrik Lissner 2018-01-29 17:06:20 -05:00
parent 3a31949483
commit 735d129f92
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 2 deletions

View file

@ -36,6 +36,9 @@ shorter major mode name in the mode-line. See `doom|set-mode-name'.")
"List of hooks to run when the theme (and font) is initialized (or reloaded
with `doom//reload-theme').")
;; Prevents the unstyled mode-line flash at startup
(with-current-buffer (switch-to-buffer "*scratch*")
(setq mode-line-format nil))
(setq-default
bidi-display-reordering nil ; disable bidirectional text for tiny performance boost