emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bec4a6d: Fix last change


From: Eli Zaretskii
Subject: master bec4a6d: Fix last change
Date: Tue, 3 Nov 2020 14:49:09 -0500 (EST)

branch: master
commit bec4a6dacad7a34b2919749e9805d2b7b77b8b45
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 a27c714..1d9fe68 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]