]> git.eshelyaron.com Git - emacs.git/commit
* lisp/mwheel.el: Don't use `custom-initialize-delay`.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 1 Aug 2021 22:13:41 +0000 (18:13 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 1 Aug 2021 22:13:41 +0000 (18:13 -0400)
commite68bc86bcfcc6431c4cf1e8a75b608d76ca1d1ae
tree99345693681f14055758582696eec0be8f3a9bd5
parent1a7818824b8e6d4ef104bd00395e82ea6e69f4cc
* lisp/mwheel.el: Don't use `custom-initialize-delay`.

Set up the keybindings when loading the file.

(mouse-wheel--installed-bindings-alist): Move to beginning.
(mouse-wheel-change-button): Don't update bindings when they're not installed.
(mouse-wheel--setup-bindings): New function extracted from `mouse-wheel-mode`.
(<topleve>): Call it when loading the file.
(mouse-wheel-mode): Use the default :initializer.
lisp/mwheel.el