Variable: mouse-wheel-mode
mouse-wheel-mode is a customizable variable defined in mwheel.el.gz.
Value
t
Documentation
Non-nil if Mouse-Wheel mode is enabled.
See the mouse-wheel-mode(var)/mouse-wheel-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function mouse-wheel-mode(var)/mouse-wheel-mode(fun).
Probably introduced at or before Emacs version 21.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mwheel.el.gz
;;;###autoload
(define-minor-mode mouse-wheel-mode
"Toggle mouse wheel support (Mouse Wheel mode)."
:init-value t
:global t
:group 'mouse
;; Remove previous bindings, if any.
(mouse-wheel--remove-bindings)
;; Setup bindings as needed.
(when mouse-wheel-mode
(mouse-wheel--setup-bindings)))