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
|
(def-package! doom-modeline
|
||||||
:hook (after-init . doom-modeline-mode)
|
:hook (after-init . doom-modeline-mode)
|
||||||
:init
|
:init
|
||||||
;; prevent flash of unstyled modeline at startup
|
(unless after-init-time
|
||||||
(setq-default mode-line-format nil)
|
;; prevent flash of unstyled modeline at startup
|
||||||
|
(setq-default mode-line-format nil))
|
||||||
;; We display project info in the modeline ourselves
|
;; We display project info in the modeline ourselves
|
||||||
(setq projectile-dynamic-mode-line nil)
|
(setq projectile-dynamic-mode-line nil)
|
||||||
;; Set these early so they don't trigger variable watchers
|
;; Set these early so they don't trigger variable watchers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue