Minor refactors & cleanup

This commit is contained in:
Henrik Lissner 2019-12-15 15:53:28 -05:00
parent 9eaa6ce194
commit c522ca4fc0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 6 additions and 9 deletions

View file

@ -462,9 +462,7 @@ treat Emacs as a non-application window."
: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)
:around #'all-the-icons-insert
(if (display-multi-font-p)
(apply orig-fn args)
"")))