mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
font-use-system-font = t if no font is set
This commit is contained in:
@ -526,7 +526,8 @@ behavior). Do not set this directly, this is let-bound in `doom-init-theme-h'.")
|
|||||||
default-frame-alist
|
default-frame-alist
|
||||||
:key #'car :test #'eq))
|
:key #'car :test #'eq))
|
||||||
((display-graphic-p)
|
((display-graphic-p)
|
||||||
(setq doom-font (face-attribute 'default :font)))))
|
(setq font-use-system-font t
|
||||||
|
doom-font (face-attribute 'default :font)))))
|
||||||
|
|
||||||
(defun doom-init-extra-fonts-h (&optional frame)
|
(defun doom-init-extra-fonts-h (&optional frame)
|
||||||
"Loads `doom-variable-pitch-font',`doom-serif-font' and `doom-unicode-font'."
|
"Loads `doom-variable-pitch-font',`doom-serif-font' and `doom-unicode-font'."
|
||||||
|
Reference in New Issue
Block a user