From 49f25c4928498e33025a32351bbb8f45fd4fce53 Mon Sep 17 00:00:00 2001 From: David Florness Date: Fri, 24 Nov 2023 12:12:50 -0500 Subject: [PATCH] correctly configure font size --- lisp/appearance.el | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/lisp/appearance.el b/lisp/appearance.el index bba615b..9223b2d 100644 --- a/lisp/appearance.el +++ b/lisp/appearance.el @@ -1,17 +1,16 @@ ;; Change frame title (setq frame-title-format "emacs") -(add-to-list 'default-frame-alist '(font . "Fira Code-10")) - ;; Font -(ignore-errors - (set-frame-font - (font-spec - :name "Fira Code" - :size 13 - :weight 'normal - :width 'normal) - nil t)) +(setq my-font (font-spec + :name "Fira Code" + :size 14 + :weight 'normal + :width 'normal)) +(ignore-errors (set-frame-font my-font nil t)) +(add-to-list 'after-make-frame-functions + (lambda (frame) + (set-frame-font my-font nil t))) (set-language-environment "UTF-8") (prefer-coding-system 'utf-8) -- 2.38.4