From: Eli Zaretskii Date: Tue, 3 Nov 2020 19:48:23 +0000 (+0200) Subject: Fix last change X-Git-Tag: emacs-28.0.90~5259 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bec4a6dacad7a34b2919749e9805d2b7b77b8b45;p=emacs.git Fix last change * lisp/mwheel.el (mwheel-scroll): Don't use passive tense in doc string. --- diff --git a/lisp/mwheel.el b/lisp/mwheel.el index a27c714d25f..1d9fe68075b 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el @@ -258,9 +258,11 @@ active window." This should be bound only to mouse buttons 4, 5, 6, and 7 on non-Windows systems. -An optional prefix ARG can be used to change the step of horizontal -scrolling. The arg numeric value can be typed before starting to scroll. -The value is saved in the variable `mouse-wheel-scroll-amount-horizontal'." +Optional argument ARG (interactively, prefix numeric argument) controls +the step of horizontal scrolling. + +The variable `mouse-wheel-scroll-amount-horizontal' records the last +value of ARG, and the command uses it in subsequent scrolls." (interactive (list last-input-event current-prefix-arg)) (let* ((selected-window (selected-window)) (scroll-window (mouse-wheel--get-scroll-window event))