diff options
| author | Stefan Kangas | 2019-08-21 03:38:49 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2019-10-06 21:57:58 +0200 |
| commit | dc8108e10910352ab97c8200b23672072c374a91 (patch) | |
| tree | b485dce08b9c1904abec8ecf0b7db8d359d27d5d /doc | |
| parent | 8de2e69f021b5b2920a07d82c9869bb394171d41 (diff) | |
| download | emacs-dc8108e10910352ab97c8200b23672072c374a91.tar.gz emacs-dc8108e10910352ab97c8200b23672072c374a91.zip | |
Support changing font size using mouse wheel
* lisp/mwheel.el (mouse-wheel-mode): Support changing font size (text
scaling) using mouse wheel. (Bug#28182)
(mouse-wheel-scroll-amount): Bind the Ctrl modifier to text scaling.
(mwheel-installed-text-scale-bindings): New variable.
(mouse-wheel--remove-bindings): New helper function for
'mouse-wheel-mode'.
* doc/emacs/frames.texi (Mouse Commands): Document this feature.
* etc/NEWS: Announce it.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/frames.texi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index ba1424aa2a3..869b77d86bd 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -201,10 +201,12 @@ deactivating the mark. @xref{Shift Selection}. | |||
| 201 | @vindex mouse-wheel-progressive-speed | 201 | @vindex mouse-wheel-progressive-speed |
| 202 | Some mice have a ``wheel'' which can be used for scrolling. Emacs | 202 | Some mice have a ``wheel'' which can be used for scrolling. Emacs |
| 203 | supports scrolling windows with the mouse wheel, by default, on most | 203 | supports scrolling windows with the mouse wheel, by default, on most |
| 204 | graphical displays. To toggle this feature, use @kbd{M-x | 204 | graphical displays. There is also support for increasing or |
| 205 | mouse-wheel-mode}. The variables @code{mouse-wheel-follow-mouse} and | 205 | decreasing the height of the default face, by default bound to |
| 206 | @code{mouse-wheel-scroll-amount} determine where and by how much | 206 | scrolling with the @key{Ctrl} modifier. To toggle this feature, use |
| 207 | buffers are scrolled. The variable | 207 | @kbd{M-x mouse-wheel-mode}. The variables |
| 208 | @code{mouse-wheel-follow-mouse} and @code{mouse-wheel-scroll-amount} | ||
| 209 | determine where and by how much buffers are scrolled. The variable | ||
| 208 | @code{mouse-wheel-progressive-speed} determines whether the scroll | 210 | @code{mouse-wheel-progressive-speed} determines whether the scroll |
| 209 | speed is linked to how fast you move the wheel. | 211 | speed is linked to how fast you move the wheel. |
| 210 | 212 | ||