mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
doom-modeline no longer errors out, in case a modeline doesn't exist; add doom-set-modeline
This commit is contained in:
@ -101,9 +101,9 @@ whose dimensions may not be fully initialized by the time this is run."
|
||||
(unless +doom-dashboard-modeline
|
||||
(setq +doom-dashboard-old-modeline mode-line-format)
|
||||
(setq +doom-dashboard-modeline
|
||||
(if (featurep! :ui doom-modeline)
|
||||
(doom-modeline 'project)
|
||||
mode-line-format)))
|
||||
(or (and (featurep! :ui doom-modeline)
|
||||
(doom-modeline 'project))
|
||||
mode-line-format)))
|
||||
(let ((old-pwd (or dir default-directory)))
|
||||
(with-current-buffer (doom-fallback-buffer)
|
||||
(+doom-dashboard-mode)
|
||||
|
Reference in New Issue
Block a user