mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(modeline): void-function +modeline-refresh-bars-h error
Occurs during non-interactive startup of the user's config (e.g. 'doom doctor'), while :ui (modeline +light) is enabled. This is a makeshift solution until I get around to finishing the +light feature.
This commit is contained in:
@ -11,7 +11,7 @@
|
|||||||
(defun +modeline--set-var-and-refresh-bars-fn (&optional symbol value)
|
(defun +modeline--set-var-and-refresh-bars-fn (&optional symbol value)
|
||||||
(when symbol
|
(when symbol
|
||||||
(set-default symbol value))
|
(set-default symbol value))
|
||||||
(when doom-init-time
|
(when (fboundp '+modeline-refresh-bars-h)
|
||||||
(+modeline-refresh-bars-h)))
|
(+modeline-refresh-bars-h)))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user