Function: pixel-scroll-kinetic-state
pixel-scroll-kinetic-state is a byte-compiled function defined in
pixel-scroll.el.gz.
Signature
(pixel-scroll-kinetic-state &optional WINDOW)
Documentation
Return the kinetic scroll state of WINDOW.
If WINDOW is nil, return the state of the current window. It is a vector of the form [ VELOCITY TIME SIGN ].
Source Code
;; Defined in /usr/src/emacs/lisp/pixel-scroll.el.gz
(defun pixel-scroll-kinetic-state (&optional window)
"Return the kinetic scroll state of WINDOW.
If WINDOW is nil, return the state of the current window.
It is a vector of the form [ VELOCITY TIME SIGN ]."
(or (window-parameter window 'kinetic-state)
(set-window-parameter window 'kinetic-state
(vector (make-ring 30) nil nil))))