font-use-system-font = t if no font is set
This commit is contained in:
parent
ae80f1f67d
commit
8f77c41a48
1 changed files with 2 additions and 1 deletions
|
@ -526,7 +526,8 @@ behavior). Do not set this directly, this is let-bound in `doom-init-theme-h'.")
|
|||
default-frame-alist
|
||||
:key #'car :test #'eq))
|
||||
((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)
|
||||
"Loads `doom-variable-pitch-font',`doom-serif-font' and `doom-unicode-font'."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue