mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #1315: blank modeline on doom/reload
Default mode-line-format shouldn't be tampered with except at startup.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user