From 7795da48003e14b77d371b6aa9bc085af5cd00df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edwin=20T=C3=B6r=C3=B6k?= Date: Wed, 3 Oct 2018 22:57:22 +0100 Subject: [PATCH] Fix doom-serif-font and doom-variable-pitch-font: they need to be set for current frame too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Emacs 26.1 these two font settings had no effect on the main frame. Signed-off-by: Edwin Török --- core/core-ui.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index 21ca9e83e..d53775a6d 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -351,9 +351,9 @@ frame's window-system, the theme will be reloaded.") ((display-graphic-p) (setq doom-font (face-attribute 'default :font)))) (when doom-serif-font - (set-face-attribute 'fixed-pitch-serif t :font doom-serif-font)) + (set-face-attribute 'fixed-pitch-serif nil :font doom-serif-font)) (when doom-variable-pitch-font - (set-face-attribute 'variable-pitch t :font doom-variable-pitch-font)) + (set-face-attribute 'variable-pitch nil :font doom-variable-pitch-font)) ;; Fallback to `doom-unicode-font' for Unicode characters (when (fontp doom-unicode-font) (set-fontset-font t nil doom-unicode-font nil 'append)))