From 50c832aeb205b89e2f3732aa320efb1a87e132df Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 13 Aug 2023 01:10:30 +0200 Subject: emacs: Don’t remove ‘mm-set-fonts’ hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/config.org | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to '.config') diff --git a/.config/emacs/config.org b/.config/emacs/config.org index d517d6b..ff309bc 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -656,13 +656,7 @@ every frame. We also can’t forget the frame that’s actually running this co :weight prop-weight :height prop-height))) - (defun mm--configure-fonts (_) - "Configure font given initial non-daemon FRAME. Intended for - ‘after-make-frame-functions’." - (mm-set-fonts) - (remove-hook 'after-make-frame-functions #'mm--configure-fonts)) - - (add-hook 'after-make-frame-functions #'mm--configure-fonts) + (add-hook 'after-make-frame-functions (λ (mm-set-fonts))) (mm-set-fonts) #+END_SRC -- cgit v1.2.3