From bec4a6dacad7a34b2919749e9805d2b7b77b8b45 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 3 Nov 2020 21:48:23 +0200 Subject: [PATCH] Fix last change * lisp/mwheel.el (mwheel-scroll): Don't use passive tense in doc string. --- lisp/mwheel.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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)) -- 2.39.2