summaryrefslogtreecommitdiff
path: root/lisp/mwheel.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-03-13 12:24:25 +0200
committerEli Zaretskii <eliz@gnu.org>2020-03-13 12:24:25 +0200
commitb468b3d1ffa9f22a8a421b1037f7e397903913c3 (patch)
treee3c60ddcb0d069f8f690ec34f198c6f12047c0bc /lisp/mwheel.el
parent1ab766fd5814ee30d810fb82c0db6eb66320ec3d (diff)
downloademacs-b468b3d1ffa9f22a8a421b1037f7e397903913c3.tar.gz
Fix a recent documentation change
* doc/emacs/frames.texi (Mouse Commands): More detailed description of how tilting the mouse-wheel works. * lisp/mwheel.el (mouse-wheel-tilt-scroll) (mouse-wheel-flip-direction): Fix the wording of doc strings. (Bug#39979)
Diffstat (limited to 'lisp/mwheel.el')
-rw-r--r--lisp/mwheel.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index 79977ef8640..317f2cd8edd 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -145,7 +145,7 @@ face height."
;;; For tilt-scroll
;;;
(defcustom mouse-wheel-tilt-scroll nil
- "Enable horizontal scrolling via mouse or touchpad.
+ "Enable horizontal scrolling by tilting mouse wheel or via touchpad.
Also see `mouse-wheel-flip-direction'."
:group 'mouse
:type 'boolean
@@ -153,8 +153,11 @@ Also see `mouse-wheel-flip-direction'."
(defcustom mouse-wheel-flip-direction nil
"Swap direction of `wheel-right' and `wheel-left'.
-This inverts the direction of horizontal scrolling. Also see
-`mouse-wheel-tilt-scroll'."
+By default, `wheel-right' scrolls the text to the right,
+and `wheel-left' scrolls in the other direction.
+If this variable is non-nil, it inverts the direction of
+horizontal scrolling by tilting the mouse wheel.
+Also see `mouse-wheel-tilt-scroll'."
:group 'mouse
:type 'boolean
:version "26.1")