]> git.eshelyaron.com Git - emacs.git/commit
Horizontal scrolling for mouse wheel with Shift modifier (bug#43568)
authorJuri Linkov <juri@linkov.net>
Thu, 24 Sep 2020 19:25:03 +0000 (22:25 +0300)
committerJuri Linkov <juri@linkov.net>
Thu, 24 Sep 2020 19:25:03 +0000 (22:25 +0300)
commit1e7f6365766db188e8cbcee5a9cdad8e2b4f5849
tree7a477d311ce63339e98a2415b18ede721da8d3c4
parent89dd8cd215148da4c6dffc15dc6c35df5122247b
Horizontal scrolling for mouse wheel with Shift modifier (bug#43568)

* lisp/mwheel.el (mouse-wheel-scroll-amount): Change 'shift' default value
from 5 to 'hscroll'.  Add new option "Scroll horizontally" for 'hscroll'.
(mwheel-scroll): Handle value 'hscroll' and call mwheel-scroll-left-function
or mwheel-scroll-right-function.

* doc/emacs/frames.texi (Mouse Commands): Update for horizontal scrolling
with Shift modifier.
doc/emacs/frames.texi
etc/NEWS
etc/TODO
lisp/mwheel.el