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
|
||||
: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
|
||||
|
Reference in New Issue
Block a user