Move emoji config to ui.el

This commit is contained in:
Andreas Zweili 2022-08-21 14:52:12 +02:00
parent 3dc7feefc9
commit 0c6c56aa57
2 changed files with 4 additions and 4 deletions

View File

@ -89,10 +89,6 @@
(setq column-number-mode 1)
(when (boundp 'enable-emojis)
(when (is-linux-p)
(set-fontset-font t nil "Symbola" nil 'prepend)))
(defun buffer-too-big-p ()
(or (> (buffer-size) (* 5000 64))
(> (line-number-at-pos (point-max)) 5000)))

View File

@ -124,3 +124,7 @@
(lambda ()
(ibuffer-switch-to-saved-filter-groups "default")))
;; )
(when (boundp 'enable-emojis)
(when (is-linux-p)
(set-fontset-font t nil "Symbola" nil 'prepend)))