Variable: mouse-wheel-mode-hook
mouse-wheel-mode-hook is a customizable variable defined in
mwheel.el.gz.
Value
nil
Documentation
Hook run after entering or leaving mouse-wheel-mode(var)/mouse-wheel-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
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)))