summaryrefslogtreecommitdiff
path: root/lisp/mwheel.el
diff options
context:
space:
mode:
authorİ. Göktuğ Kayaalp <self@gkayaalp.com>2020-03-08 00:15:01 +0300
committerNoam Postavsky <npostavs@gmail.com>2020-03-11 19:48:47 -0400
commitef5744a988f299c1b8b4726ee0d5bf9c1c1074f5 (patch)
tree9b82ec1737394c2f37455b505f3336daff80f771 /lisp/mwheel.el
parent1bc3fa0bd02cb167ae82b65fc56f95651d2bea16 (diff)
downloademacs-ef5744a988f299c1b8b4726ee0d5bf9c1c1074f5.tar.gz
Improve docs for horizontal scrolling with mouse and touchpad (Bug#39979)
* lisp/mwheel.el (mouse-wheel-tilt-scroll, mouse-wheel-flip-direction): Improve docstrings. * doc/emacs/frames.texi (Mouse Commands): Mention touchpads.
Diffstat (limited to 'lisp/mwheel.el')
-rw-r--r--lisp/mwheel.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index 56150c803f7..79977ef8640 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -145,13 +145,16 @@ face height."
;;; For tilt-scroll
;;;
(defcustom mouse-wheel-tilt-scroll nil
- "Enable scroll using tilting mouse wheel."
+ "Enable horizontal scrolling via mouse or touchpad.
+Also see `mouse-wheel-flip-direction'."
:group 'mouse
:type 'boolean
:version "26.1")
(defcustom mouse-wheel-flip-direction nil
- "Swap direction of `wheel-right' and `wheel-left'."
+ "Swap direction of `wheel-right' and `wheel-left'.
+This inverts the direction of horizontal scrolling. Also see
+`mouse-wheel-tilt-scroll'."
:group 'mouse
:type 'boolean
:version "26.1")