]> git.eshelyaron.com Git - emacs.git/commit
(mouse-wheel-*-event): Minor cleanups
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 9 Jan 2024 16:34:05 +0000 (11:34 -0500)
committerEshel Yaron <me@eshelyaron.com>
Sun, 21 Jan 2024 07:26:53 +0000 (08:26 +0100)
commitd2ade6a67cac61e81045d06c85bdf1aa228e739c
tree8ab2300a9dc75150c5aa0cdd701c90ab78a46925
parent9f3560ab4f3da7fefbae00430df71885cbb69617
(mouse-wheel-*-event): Minor cleanups

* lisp/mwheel.el (mwheel-event-button): Mark as obsolete alias.
Change all callers.

* lisp/edmacro.el (mouse-wheel-*-event): Move declarations to ...
(edmacro-fix-menu-commands): ... where we do know that they should
be defined.  Obey `mouse-wheel-*-alternate-event`s as well.

(cherry picked from commit ee2a8fd4cff84cd5bd672fdde8ec3e0800f132be)
lisp/edmacro.el
lisp/mwheel.el