Fix the frame font setting function

The last parameter should be a list of frames instead of a single frame.
This commit is contained in:
Gergely Polonkai 2019-11-20 08:32:31 +01:00
parent 3f7263f2fe
commit b6d5f61bd7
No known key found for this signature in database
GPG Key ID: 38F402C8471DDE93

View File

@ -1071,7 +1071,7 @@ Before this can be used, make sure the [[https://zhm.github.io/symbola/][Symbola
(defun gpolonkai/set-font-size (frame) (defun gpolonkai/set-font-size (frame)
(when (display-graphic-p frame) (when (display-graphic-p frame)
(set-face-attribute 'default frame :font "Hack-12") (set-face-attribute 'default frame :font "Hack-12")
(set-frame-font "Hack-12" t frame))) (set-frame-font "Hack-12" t (list frame))))
(defun --set-emoji-font (frame) (defun --set-emoji-font (frame)
"Adjust the font setting of FRAME so Emacs can display Emoji properly." "Adjust the font setting of FRAME so Emacs can display Emoji properly."