Fix void-variable mouse-wheel-{up,down}-event errors
This commit is contained in:
parent
1d40602c3e
commit
c28a018e42
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@
|
|||
(when (daemonp)
|
||||
(setq doom-modeline-icon t))
|
||||
:config
|
||||
;; 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)
|
||||
|
||||
(add-hook 'doom-modeline-mode-hook #'size-indication-mode) ; filesize in modeline
|
||||
(add-hook 'doom-modeline-mode-hook #'column-number-mode) ; cursor column in modeline
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue