mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user