diff options
author | Case Duckworth | 2021-04-21 17:23:53 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-21 17:27:45 -0500 |
commit | c478ecae3ce1ef3ba41a9c09426f2ca0abe7ef41 (patch) | |
tree | e618a3ef024f3e45563b0cf615d06d1e817358dd | |
parent | Add messages in `acdw/eval-region-or-buffer' (diff) | |
download | emacs-c478ecae3ce1ef3ba41a9c09426f2ca0abe7ef41.tar.gz emacs-c478ecae3ce1ef3ba41a9c09426f2ca0abe7ef41.zip |
Setup emoji fonts!
This is a much better alternative than the old crusty unicode-fonts package.
-rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el index 1b3fc3a..b8523e2 100644 --- a/init.el +++ b/init.el | |||
@@ -189,6 +189,13 @@ | |||
189 | '((file (styles . (partial-completion))))) | 189 | '((file (styles . (partial-completion))))) |
190 | (icomplete-mode +1) | 190 | (icomplete-mode +1) |
191 | 191 | ||
192 | ;; Emoji | ||
193 | (when-let* ((ffl (font-family-list)) | ||
194 | (symbol-font (car (or (member "Segoe UI Emoji" ffl) | ||
195 | (member "Noto Color Emoji" ffl) | ||
196 | (member "Apple Emoji" ffl))))) | ||
197 | (set-fontset-font t 'symbol (font-spec :family symbol-font) nil 'prepend)) | ||
198 | |||
192 | ;; Etc. | 199 | ;; Etc. |
193 | (:option inhibit-startup-screen t | 200 | (:option inhibit-startup-screen t |
194 | initial-buffer-choice t | 201 | initial-buffer-choice t |