From 8f77c41a488aa0de4858bb8d6eb0ba2262a1cd7f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 28 Nov 2019 15:35:30 -0500 Subject: [PATCH] font-use-system-font = t if no font is set --- core/core-ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-ui.el b/core/core-ui.el index 9d2549f18..9f667d7aa 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -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'."