summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/emacs/config.org8
1 files changed, 1 insertions, 7 deletions
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