emacs: Add 'my/set-font-size to 'after-make-frame-functions

This commit is contained in:
Erwin Boskma 2023-11-16 10:57:49 +01:00
parent 37b9e4585f
commit 94cf8a5f93
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ

View file

@ -439,6 +439,7 @@ Set fonts.
(set-face-attribute 'default frame :height font-height))) (set-face-attribute 'default frame :height font-height)))
(add-hook 'server-after-make-frame-hook 'my/set-font-size) (add-hook 'server-after-make-frame-hook 'my/set-font-size)
(add-hook 'after-make-frame-functions 'my/set-font-size)
(defun my/setup-fonts () (defun my/setup-fonts ()
(set-face-attribute 'default nil :family my/default-font :weight 'light) (set-face-attribute 'default nil :family my/default-font :weight 'light)