Variable: pixel-scroll-mode-hook
pixel-scroll-mode-hook is a customizable variable defined in
pixel-scroll.el.gz.
Value
nil
Documentation
Hook run after entering or leaving pixel-scroll-mode(var)/pixel-scroll-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/pixel-scroll.el.gz
;;;###autoload
(define-minor-mode pixel-scroll-mode
"A minor mode to scroll text pixel-by-pixel."
:init-value nil
:group 'scrolling
:global t
:version "26.1"
(if pixel-scroll-mode
(setq mwheel-scroll-up-function 'pixel-scroll-up
mwheel-scroll-down-function 'pixel-scroll-down)
(setq mwheel-scroll-up-function 'scroll-up
mwheel-scroll-down-function 'scroll-down)))