Move font size setting to after-make-frame-functions

This commit is contained in:
contrapunctus 2022-02-17 13:28:24 +05:30
parent 6cedc1c67d
commit 84d468e7bc
1 changed files with 2 additions and 6 deletions

View File

@ -1862,8 +1862,6 @@ FILE-1 will appear above FILE-2."
((((minibuffer . t)
(undecorated)
(override-redirect)
(font . "-PfEd-DejaVu Sans Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1")
(font-parameter . "DejaVu Sans Mono-10.5")
(border-width . 0)
(internal-border-width . 0)
(right-divider-width . 0)
@ -2006,8 +2004,6 @@ FILE-1 will appear above FILE-2."
((((minibuffer . t)
(undecorated)
(override-redirect)
(font . "-PfEd-DejaVu Sans Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1")
(font-parameter . "DejaVu Sans Mono-10.5")
(border-width . 0)
(internal-border-width . 0)
(right-divider-width . 0)
@ -3383,8 +3379,8 @@ But with =initials=, the desired completion is often buried in the results. That
#+BEGIN_SRC emacs-lisp
(defun --set-emoji-font (frame)
"Adjust the font settings of FRAME so Emacs can display emoji properly."
(set-fontset-font t 'symbol (font-spec :family "Symbola") frame 'prepend))
(set-face-attribute 'default nil :height 120)
(set-fontset-font t 'symbol (font-spec :family "Symbola") frame 'prepend)
(set-face-attribute 'default nil :height 120))
(use-package company-emoji
:ensure t