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:
parent
a54098a098
commit
74e1143ac0
1 changed files with 1 additions and 10 deletions
|
@ -461,16 +461,7 @@ treat Emacs as a non-application window."
|
||||||
all-the-icons-fileicon
|
all-the-icons-fileicon
|
||||||
all-the-icons-wicon
|
all-the-icons-wicon
|
||||||
all-the-icons-material
|
all-the-icons-material
|
||||||
all-the-icons-alltheicon)
|
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)
|
|
||||||
"")))
|
|
||||||
|
|
||||||
;;;###package hide-mode-line-mode
|
;;;###package hide-mode-line-mode
|
||||||
(add-hook! '(completion-list-mode-hook Man-mode-hook)
|
(add-hook! '(completion-list-mode-hook Man-mode-hook)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue