diff options
| author | Tak Kunihiro | 2017-04-12 16:29:35 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-04-12 16:29:35 +0300 |
| commit | 88f43dc30cb8d71830e409973cafbaca13a66a45 (patch) | |
| tree | 1d4882e9666dd75164c6255ce60693f1808b179d /doc | |
| parent | cc7a81693638f25cac65bbab013fc23da1ef4bcc (diff) | |
| download | emacs-88f43dc30cb8d71830e409973cafbaca13a66a45.tar.gz emacs-88f43dc30cb8d71830e409973cafbaca13a66a45.zip | |
Scroll right and left using wheel-right and wheel-left.
These changes also make use of touchpad and trackpad (Bug#26347).
* doc/emacs/frames.texi (Mouse Commands): Document horizontal
scrolling using the mouse wheel.
* lisp/mwheel.el (mwheel-scroll): Respond to wheel-right and wheel-left.
(mwheel-tilt-scroll-p, mwheel-flip-direction)
(mwheel-scroll-left-function, mwheel-scroll-right-function): New
defcustoms.
(mouse-wheel-left-event, mouse-wheel-right-event): New variables,
events that calls wheel-left/right.
* etc/NEWS: Mention horizontal scrolling using the mouse wheel.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/frames.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index d1fd4d0446e..68c12d272f8 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -207,6 +207,15 @@ buffers are scrolled. The variable | |||
| 207 | @code{mouse-wheel-progressive-speed} determines whether the scroll | 207 | @code{mouse-wheel-progressive-speed} determines whether the scroll |
| 208 | speed is linked to how fast you move the wheel. | 208 | speed is linked to how fast you move the wheel. |
| 209 | 209 | ||
| 210 | @vindex mwheel-tilt-scroll-p | ||
| 211 | @vindex mwheel-flip-direction | ||
| 212 | Emacs can also support horizontal scrolling if your mouse's wheel can | ||
| 213 | be tilted. This feature is off by default; the variable | ||
| 214 | @code{mwheel-tilt-scroll-p} turns it on. If you'd like to reverse the | ||
| 215 | direction of horizontal scrolling, customize the variable | ||
| 216 | @code{mwheel-flip-direction} to a non-@code{nil} value. | ||
| 217 | |||
| 218 | |||
| 210 | @node Word and Line Mouse | 219 | @node Word and Line Mouse |
| 211 | @section Mouse Commands for Words and Lines | 220 | @section Mouse Commands for Words and Lines |
| 212 | 221 | ||