diff options
author | Daniel MartÃn <mardani29@yahoo.es> | 2020-09-08 14:18:17 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-09-08 18:31:15 +0200 |
commit | 3e5259a268d423ef3b6a0ffcfe05ac623bbe7f25 (patch) | |
tree | ca97a31e1c7988abd255cc253cf91cf72a641c6e /lisp/emacs-lisp/lisp.el | |
parent | 7865b4044d7520bcf4053ef5d763019dae499a08 (diff) | |
download | emacs-3e5259a268d423ef3b6a0ffcfe05ac623bbe7f25.tar.gz emacs-3e5259a268d423ef3b6a0ffcfe05ac623bbe7f25.tar.bz2 emacs-3e5259a268d423ef3b6a0ffcfe05ac623bbe7f25.zip |
Use mouse-wheel-up-event in mwheel-tests.el
Enabling mouse-wheel-mode binds two different mouse events, depending
on the operating system. The correct way to check for those events is
by checking mouse-wheel-up-event, as explained in the ELisp manual.
* test/lisp/mwheel-tests.el (mwheel-test-enable/disable): Check
mouse-wheel-up-event instead of mouse-4 to make the test work
irrespective of the platform it's running.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions