From b767beaca61efa4413b7844259f651de1c434659 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 5 Jul 2024 19:35:40 -0400 Subject: [PATCH] fix(lib): don't call doom-adjust-font-size twice When doom-big-font-mode is deactivated. --- lisp/lib/fonts.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/lib/fonts.el b/lisp/lib/fonts.el index 250eb09f9..139e153d4 100644 --- a/lisp/lib/fonts.el +++ b/lisp/lib/fonts.el @@ -178,4 +178,5 @@ Also resizees `doom-variable-pitch-font' and `doom-serif-font'." t `((doom-font . ,doom-big-font))) ;; Resize the current font (doom-adjust-font-size nil) - (doom-adjust-font-size (if doom-big-font-mode doom-big-font-increment)))) + (when doom-big-font-mode + (doom-adjust-font-size doom-big-font-increment))))