diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-03-13 12:24:25 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-03-13 12:24:25 +0200 |
commit | b468b3d1ffa9f22a8a421b1037f7e397903913c3 (patch) | |
tree | e3c60ddcb0d069f8f690ec34f198c6f12047c0bc /lisp/mwheel.el | |
parent | 1ab766fd5814ee30d810fb82c0db6eb66320ec3d (diff) | |
download | emacs-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.el | 9 |
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") |