fix(unicode): show remapping progress at startup
unicode-fonts takes 5-15 seconds to remap unicode blocks on first invokation, but it does so invisibly because inhibit-redisplay and inhibit-message are active during startup (to prevent unintended redraws slowing down the startup process). This change ensures users get meaningful feedback during this time.
This commit is contained in:
parent
221e75e739
commit
1d7dd915ab
1 changed files with 3 additions and 2 deletions
|
@ -22,5 +22,6 @@ If doom-unicode-font is set, add it as preferred font for all unicode blocks."
|
||||||
(let ((doom-unicode-font-family (plist-get (font-face-attributes doom-unicode-font) :family)))
|
(let ((doom-unicode-font-family (plist-get (font-face-attributes doom-unicode-font) :family)))
|
||||||
(dolist (unicode-block unicode-fonts-block-font-mapping)
|
(dolist (unicode-block unicode-fonts-block-font-mapping)
|
||||||
(push doom-unicode-font-family (cadr unicode-block)))))
|
(push doom-unicode-font-family (cadr unicode-block)))))
|
||||||
;; NOTE will impact startup time on first run
|
;; NOTE: will impact startup time on first run
|
||||||
(unicode-fonts-setup))))
|
(let (inhibit-redisplay inhibit-message)
|
||||||
|
(unicode-fonts-setup)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue