Move font size setting to after-make-frame-functions
This commit is contained in:
parent
6cedc1c67d
commit
84d468e7bc
8
init.org
8
init.org
|
@ -1862,8 +1862,6 @@ FILE-1 will appear above FILE-2."
|
||||||
((((minibuffer . t)
|
((((minibuffer . t)
|
||||||
(undecorated)
|
(undecorated)
|
||||||
(override-redirect)
|
(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)
|
(border-width . 0)
|
||||||
(internal-border-width . 0)
|
(internal-border-width . 0)
|
||||||
(right-divider-width . 0)
|
(right-divider-width . 0)
|
||||||
|
@ -2006,8 +2004,6 @@ FILE-1 will appear above FILE-2."
|
||||||
((((minibuffer . t)
|
((((minibuffer . t)
|
||||||
(undecorated)
|
(undecorated)
|
||||||
(override-redirect)
|
(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)
|
(border-width . 0)
|
||||||
(internal-border-width . 0)
|
(internal-border-width . 0)
|
||||||
(right-divider-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
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun --set-emoji-font (frame)
|
(defun --set-emoji-font (frame)
|
||||||
"Adjust the font settings of FRAME so Emacs can display emoji properly."
|
"Adjust the font settings of FRAME so Emacs can display emoji properly."
|
||||||
(set-fontset-font t 'symbol (font-spec :family "Symbola") frame 'prepend))
|
(set-fontset-font t 'symbol (font-spec :family "Symbola") frame 'prepend)
|
||||||
(set-face-attribute 'default nil :height 120)
|
(set-face-attribute 'default nil :height 120))
|
||||||
|
|
||||||
(use-package company-emoji
|
(use-package company-emoji
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
Loading…
Reference in New Issue