diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2019-10-11 02:15:24 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2019-10-11 02:16:11 +0200 |
commit | ffb7100750c211f55dd95811675d12a783f15d66 (patch) | |
tree | 1a813097e29c8fe1eaf3b952e7f0a71303fd2d6f /test/lisp/emacs-lisp/backquote-tests.el | |
parent | bb392a9c8dab154cb9c80decf2ce4cf2da80e635 (diff) | |
download | emacs-ffb7100750c211f55dd95811675d12a783f15d66.tar.gz emacs-ffb7100750c211f55dd95811675d12a783f15d66.tar.bz2 emacs-ffb7100750c211f55dd95811675d12a783f15d66.zip |
Change font size in correct window using mouse wheel
* lisp/mwheel.el (mouse-wheel-follow-mouse): Doc fix.
(mouse-wheel--get-scroll-window): New function extracted from...
(mwheel-scroll): ...here.
(mouse-wheel-text-scale): New function to change face height in
the correct window, depending on the value of
'mouse-wheel-follows-mouse'. (Bug#28182)
(mouse-wheel-mode): Bind 'mouse-wheel-text-scale' instead of
'text-scale-increase' and 'text-scale-decrease'.
Diffstat (limited to 'test/lisp/emacs-lisp/backquote-tests.el')
0 files changed, 0 insertions, 0 deletions