aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2020-03-13 12:24:25 +0200
committerEli Zaretskii2020-03-13 12:24:25 +0200
commitb468b3d1ffa9f22a8a421b1037f7e397903913c3 (patch)
treee3c60ddcb0d069f8f690ec34f198c6f12047c0bc /lisp
parent1ab766fd5814ee30d810fb82c0db6eb66320ec3d (diff)
downloademacs-b468b3d1ffa9f22a8a421b1037f7e397903913c3.tar.gz
emacs-b468b3d1ffa9f22a8a421b1037f7e397903913c3.zip
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')
-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."
145;;; For tilt-scroll 145;;; For tilt-scroll
146;;; 146;;;
147(defcustom mouse-wheel-tilt-scroll nil 147(defcustom mouse-wheel-tilt-scroll nil
148 "Enable horizontal scrolling via mouse or touchpad. 148 "Enable horizontal scrolling by tilting mouse wheel or via touchpad.
149Also see `mouse-wheel-flip-direction'." 149Also see `mouse-wheel-flip-direction'."
150 :group 'mouse 150 :group 'mouse
151 :type 'boolean 151 :type 'boolean
@@ -153,8 +153,11 @@ Also see `mouse-wheel-flip-direction'."
153 153
154(defcustom mouse-wheel-flip-direction nil 154(defcustom mouse-wheel-flip-direction nil
155 "Swap direction of `wheel-right' and `wheel-left'. 155 "Swap direction of `wheel-right' and `wheel-left'.
156This inverts the direction of horizontal scrolling. Also see 156By default, `wheel-right' scrolls the text to the right,
157`mouse-wheel-tilt-scroll'." 157and `wheel-left' scrolls in the other direction.
158If this variable is non-nil, it inverts the direction of
159horizontal scrolling by tilting the mouse wheel.
160Also see `mouse-wheel-tilt-scroll'."
158 :group 'mouse 161 :group 'mouse
159 :type 'boolean 162 :type 'boolean
160 :version "26.1") 163 :version "26.1")