Function: mouse-drag-repeatedly-safe-scroll

mouse-drag-repeatedly-safe-scroll is a byte-compiled function defined in mouse-drag.el.gz.

Signature

(mouse-drag-repeatedly-safe-scroll ROW-DELTA &optional COL-DELTA)

Documentation

Scroll ROW-DELTA rows and COL-DELTA cols until an event happens.

Source Code

;; Defined in /usr/src/emacs/lisp/mouse-drag.el.gz
(defun mouse-drag-repeatedly-safe-scroll (row-delta &optional col-delta)
  "Scroll ROW-DELTA rows and COL-DELTA cols until an event happens."
  (while (sit-for mouse-scroll-delay)
    (mouse-drag-safe-scroll row-delta col-delta)))