mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix void-variable mouse-wheel-{up,down}-event errors
This commit is contained in:
@ -27,6 +27,10 @@
|
|||||||
(when (daemonp)
|
(when (daemonp)
|
||||||
(setq doom-modeline-icon t))
|
(setq doom-modeline-icon t))
|
||||||
:config
|
: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 #'size-indication-mode) ; filesize in modeline
|
||||||
(add-hook 'doom-modeline-mode-hook #'column-number-mode) ; cursor column in modeline
|
(add-hook 'doom-modeline-mode-hook #'column-number-mode) ; cursor column in modeline
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user