mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user