diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-11-03 21:48:23 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-11-03 21:48:23 +0200 |
commit | bec4a6dacad7a34b2919749e9805d2b7b77b8b45 (patch) | |
tree | 02ddc6338454dea3b0064acf6ef0967f0cf5ac0f | |
parent | a6240cb263c3dd5a12fb23118444e59f622226a7 (diff) | |
download | emacs-bec4a6dacad7a34b2919749e9805d2b7b77b8b45.tar.gz |
Fix last change
* lisp/mwheel.el (mwheel-scroll): Don't use passive tense in doc
string.
-rw-r--r-- | lisp/mwheel.el | 8 |
1 files 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)) |