summary refs log tree commit diff stats
path: root/basics.el
diff options
context:
space:
mode:
authorCase Duckworth2023-01-09 12:53:57 -0600
committerCase Duckworth2023-01-09 12:53:57 -0600
commit93e8ed10b9edd7e589c9233bc950638294a6ffcb (patch)
tree09af637049f0e94c734ec30ab26d0230884671c1 /basics.el
parentmyeahhhhhh (diff)
downloademacs-93e8ed10b9edd7e589c9233bc950638294a6ffcb.tar.gz
emacs-93e8ed10b9edd7e589c9233bc950638294a6ffcb.zip
Move faces definition to init.el
Diffstat (limited to 'basics.el')
-rw-r--r--basics.el16
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)