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:
parent
3f7263f2fe
commit
b6d5f61bd7
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user