diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-13 01:10:30 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-13 01:10:30 +0200 |
commit | 50c832aeb205b89e2f3732aa320efb1a87e132df (patch) | |
tree | 6bbefd377780a89cfa43d33b8dff5d86a1c643f7 /.config/emacs | |
parent | 0438660003a5f3cbdb2dd8a42961e0c8629f80b9 (diff) |
emacs: Don’t remove ‘mm-set-fonts’ hook
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/config.org | 8 |
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 |