From c478ecae3ce1ef3ba41a9c09426f2ca0abe7ef41 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 21 Apr 2021 17:23:53 -0500 Subject: Setup emoji fonts! This is a much better alternative than the old crusty unicode-fonts package. --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index 1b3fc3a..b8523e2 100644 --- a/init.el +++ b/init.el @@ -189,6 +189,13 @@ '((file (styles . (partial-completion))))) (icomplete-mode +1) + ;; Emoji + (when-let* ((ffl (font-family-list)) + (symbol-font (car (or (member "Segoe UI Emoji" ffl) + (member "Noto Color Emoji" ffl) + (member "Apple Emoji" ffl))))) + (set-fontset-font t 'symbol (font-spec :family symbol-font) nil 'prepend)) + ;; Etc. (:option inhibit-startup-screen t initial-buffer-choice t -- cgit 1.4.1-21-gabe81