Function: pixel-scroll-mode
pixel-scroll-mode is an autoloaded, interactive and byte-compiled
function defined in pixel-scroll.el.gz.
Signature
(pixel-scroll-mode &optional ARG)
Documentation
A minor mode to scroll text pixel-by-pixel.
This is a global minor mode. If called interactively, toggle the
Pixel-Scroll mode mode. If the prefix argument is positive, enable
the mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the mode
if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate (default-value \=pixel-scroll-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
Probably introduced at or before Emacs version 26.1.
Key Bindings
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)))