aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Kangas2019-08-21 03:38:49 +0200
committerStefan Kangas2019-10-06 21:57:58 +0200
commitdc8108e10910352ab97c8200b23672072c374a91 (patch)
treeb485dce08b9c1904abec8ecf0b7db8d359d27d5d /doc
parent8de2e69f021b5b2920a07d82c9869bb394171d41 (diff)
downloademacs-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.texi10
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
203supports scrolling windows with the mouse wheel, by default, on most 203supports scrolling windows with the mouse wheel, by default, on most
204graphical displays. To toggle this feature, use @kbd{M-x 204graphical displays. There is also support for increasing or
205mouse-wheel-mode}. The variables @code{mouse-wheel-follow-mouse} and 205decreasing the height of the default face, by default bound to
206@code{mouse-wheel-scroll-amount} determine where and by how much 206scrolling with the @key{Ctrl} modifier. To toggle this feature, use
207buffers 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}
209determine 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
209speed is linked to how fast you move the wheel. 211speed is linked to how fast you move the wheel.
210 212