]> git.eshelyaron.com Git - emacs.git/commit
Fix binding mouse wheel with modifiers in buffer area
authorStefan Kangas <stefankangas@gmail.com>
Wed, 2 Sep 2020 20:54:47 +0000 (22:54 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 2 Sep 2020 20:57:24 +0000 (22:57 +0200)
commit77a5b696bbb4f70e23e94c8a731168a6673c8cd9
treef6eb8bad74f8ec909fae3497ebc8839dc4f6c349
parent5aa5c0372dc3cccf2676d26a17b4d5f71caf8cdc
Fix binding mouse wheel with modifiers in buffer area

* test/lisp/mwheel-tests.el (mwheel-test--create-scroll-keys): Fix
binding mouse wheel with modifiers in buffer area, while ignoring them
for fringes, margins, etc.  My previous change mistakenly ignored all
modifiers in `mouse-wheel-scroll-amount'.
* lisp/mwheel.el (mouse-wheel--create-scroll-keys): Fix test to
reflect the above.
lisp/mwheel.el
test/lisp/mwheel-tests.el