diff options
Diffstat (limited to 'basics.el')
-rw-r--r-- | basics.el | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/basics.el b/basics.el index 4e9e0a9..1f64522 100644 --- a/basics.el +++ b/basics.el | |||
@@ -321,22 +321,6 @@ N spaces." | |||
321 | (when (file-remote-p (buffer-file-name)) | 321 | (when (file-remote-p (buffer-file-name)) |
322 | (setq-local vc-handled-backends nil)))) | 322 | (setq-local vc-handled-backends nil)))) |
323 | 323 | ||
324 | (add-hook 'after-init-hook | ||
325 | (defun after-init@emoji-font-setup () | ||
326 | "Set up emoji fonts after init." | ||
327 | (run-with-idle-timer | ||
328 | 1 nil (defun emoji-font-setup () | ||
329 | "Set up emoji fonts." | ||
330 | (let ((ffl (font-family-list))) | ||
331 | (dolist (font '("Noto Emoji" "Noto Color Emoji" | ||
332 | "Segoe UI Emoji" "Apple Color Emoji" | ||
333 | "FreeSans" "FreeMono" "FreeSerif" | ||
334 | "Unifont" "Symbola")) | ||
335 | (when (member font (font-family-list)) | ||
336 | (set-fontset-font t 'symbol | ||
337 | (font-spec :family font) | ||
338 | nil :add)))))))) | ||
339 | |||
340 | ;;; Advice | 324 | ;;; Advice |
341 | 325 | ||
342 | (define-advice switch-to-buffer (:after (&rest _) normal-mode) | 326 | (define-advice switch-to-buffer (:after (&rest _) normal-mode) |