Skip to content

Instantly share code, notes, and snippets.

@Munksgaard
Created January 3, 2022 09:06
Show Gist options
  • Save Munksgaard/0713b540eb6dbbed41f865d910c47b02 to your computer and use it in GitHub Desktop.
Save Munksgaard/0713b540eb6dbbed41f865d910c47b02 to your computer and use it in GitHub Desktop.
;; Emoji: 😄, 🤦, 🏴󠁧󠁢󠁳󠁣󠁴󠁿
(defun set-fonts ()
(set-fontset-font t 'symbol "Apple Color Emoji")
(set-fontset-font t 'symbol "Noto Color Emoji" nil 'append)
(set-fontset-font t 'symbol "Segoe UI Emoji" nil 'append)
(set-fontset-font t 'symbol "Symbola" nil 'append))
;; run this hook after we have initialized the first time
(add-hook 'after-init-hook 'set-fonts)
;; re-run this hook if we create a new frame from daemonized Emacs
(add-hook 'server-after-make-frame-hook 'set-fonts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment