emacs: Add 'my/set-font-size to 'after-make-frame-functions
This commit is contained in:
parent
37b9e4585f
commit
94cf8a5f93
1 changed files with 1 additions and 0 deletions
|
@ -439,6 +439,7 @@ Set fonts.
|
|||
(set-face-attribute 'default frame :height font-height)))
|
||||
|
||||
(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 ()
|
||||
(set-face-attribute 'default nil :family my/default-font :weight 'light)
|
||||
|
|
Loading…
Reference in a new issue