Use display-multi-font-p check in all-the-icons advice

display-multi-font-p is just an alias for display-graphic-p, but it
communicates better the purpose of this advice.
This commit is contained in:
Henrik Lissner 2019-07-23 17:27:55 +02:00
parent 82ae3a73f3
commit be46d31866
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -462,7 +462,7 @@ treat Emacs as a non-application window."
: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-graphic-p)
(if (display-multi-font-p)
(apply orig-fn args)
"")))