Fix #1315: blank modeline on doom/reload
Default mode-line-format shouldn't be tampered with except at startup.
This commit is contained in:
parent
31eb845f6b
commit
2c7f917691
1 changed files with 3 additions and 2 deletions
|
@ -5,8 +5,9 @@
|
|||
(def-package! doom-modeline
|
||||
:hook (after-init . doom-modeline-mode)
|
||||
:init
|
||||
(unless after-init-time
|
||||
;; prevent flash of unstyled modeline at startup
|
||||
(setq-default mode-line-format nil)
|
||||
(setq-default mode-line-format nil))
|
||||
;; We display project info in the modeline ourselves
|
||||
(setq projectile-dynamic-mode-line nil)
|
||||
;; Set these early so they don't trigger variable watchers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue