Don't disable all-the-icons in tty Emacs

Too much hassle to police. I'll leave it to users to disable.
This commit is contained in:
Henrik Lissner 2019-12-20 21:48:35 -05:00
parent a54098a098
commit 74e1143ac0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -461,16 +461,7 @@ treat Emacs as a non-application window."
all-the-icons-fileicon
all-the-icons-wicon
all-the-icons-material
all-the-icons-alltheicon)
:init
(defadvice! doom--disable-all-the-icons-in-tty-a (orig-fn &rest args)
"Return a blank string in tty Emacs, which doesn't support multiple fonts."
:around '(all-the-icons-octicon all-the-icons-material
all-the-icons-faicon all-the-icons-fileicon
all-the-icons-wicon all-the-icons-alltheicon)
(if (display-multi-font-p)
(apply orig-fn args)
"")))
all-the-icons-alltheicon))
;;;###package hide-mode-line-mode
(add-hook! '(completion-list-mode-hook Man-mode-hook)