Fix void-function error
This commit is contained in:
parent
9db245093d
commit
7ff58a141a
8
init.org
8
init.org
|
@ -3373,6 +3373,10 @@ But with =initials=, the desired completion is often buried in the results. That
|
|||
:CUSTOM_ID: company-emoji
|
||||
:END:
|
||||
#+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))
|
||||
|
||||
(use-package company-emoji
|
||||
:ensure t
|
||||
:hook
|
||||
|
@ -3381,10 +3385,6 @@ But with =initials=, the desired completion is often buried in the results. That
|
|||
:init (--set-emoji-font nil) ;; For when Emacs is started in GUI mode:
|
||||
(add-hook 'after-make-frame-functions '--set-emoji-font) ;; Hook for when a frame is created with emacsclient
|
||||
:config (add-to-list 'company-backends 'company-emoji))
|
||||
|
||||
(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))
|
||||
#+END_SRC
|
||||
|
||||
** company-prescient
|
||||
|
|
Loading…
Reference in New Issue