Refactor font loading
Init extra fonts within doom-init-fonts-h. This was moved because I used to believe that set-fontset-font (according to its documentation) could only change the frame-local fontset. It turns out that the exception when you pass t for its first argument, which targets the default (i.e. global) fontset.
This commit is contained in:
parent
5005721039
commit
a0593cc097
2 changed files with 5 additions and 12 deletions
|
@ -72,7 +72,7 @@ See `doom-init-fonts-h'."
|
|||
(interactive)
|
||||
(when doom-font
|
||||
(set-frame-font doom-font t))
|
||||
(mapc #'doom-init-emoji-fonts-h (frame-list)))
|
||||
(mapc #'doom-init-fonts-h (frame-list)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/increase-font-size (count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue