diff options
| author | Eli Zaretskii | 2020-03-13 12:24:25 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-03-13 12:24:25 +0200 |
| commit | b468b3d1ffa9f22a8a421b1037f7e397903913c3 (patch) | |
| tree | e3c60ddcb0d069f8f690ec34f198c6f12047c0bc /lisp | |
| parent | 1ab766fd5814ee30d810fb82c0db6eb66320ec3d (diff) | |
| download | emacs-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.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." | |||
| 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. |
| 149 | Also see `mouse-wheel-flip-direction'." | 149 | Also 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'. |
| 156 | This inverts the direction of horizontal scrolling. Also see | 156 | By default, `wheel-right' scrolls the text to the right, |
| 157 | `mouse-wheel-tilt-scroll'." | 157 | and `wheel-left' scrolls in the other direction. |
| 158 | If this variable is non-nil, it inverts the direction of | ||
| 159 | horizontal scrolling by tilting the mouse wheel. | ||
| 160 | Also 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") |