mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #4102: wrong-type-arg plistp errors in daemon tty frames
This commit is contained in:
@ -32,6 +32,13 @@
|
||||
(when (daemonp)
|
||||
(setq doom-modeline-icon t))
|
||||
:config
|
||||
;; HACK Fix #4102 due to empty all-the-icons return value (caused by
|
||||
;; `doom--disable-all-the-icons-in-tty-a' advice) in tty daemon frames.
|
||||
(defadvice! +modeline-disable-icon-in-daemon-a (orig-fn &rest args)
|
||||
:around #'doom-modeline-propertize-icon
|
||||
(when (display-graphic-p)
|
||||
(apply orig-fn args)))
|
||||
|
||||
;; Fix an issue where these two variables aren't defined in TTY Emacs on MacOS
|
||||
(defvar mouse-wheel-down-event nil)
|
||||
(defvar mouse-wheel-up-event nil)
|
||||
|
Reference in New Issue
Block a user