Created
January 3, 2022 09:06
-
-
Save Munksgaard/0713b540eb6dbbed41f865d910c47b02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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