aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/java
diff options
context:
space:
mode:
authorStefan Monnier2024-01-12 18:28:12 -0500
committerStefan Monnier2024-01-20 15:03:26 -0500
commitdb8890b3c96289ca95e4ea3ea53f0eda1a948af6 (patch)
treeaecb751048bee18b7271229c27b0b3b0c1d80172 /admin/notes/java
parent82f71e106afd9bede95cfea3025f7c059d7c2bcf (diff)
downloademacs-db8890b3c96289ca95e4ea3ea53f0eda1a948af6.tar.gz
emacs-db8890b3c96289ca95e4ea3ea53f0eda1a948af6.zip
mwheel.el: Unconditionally use the `wheel-up/down/...` events
The `mouse-wheel-DIR-event` vars were introduced because under X11 we get different `mouse-N` events depending on the users' mouse and those same events can be used for other things for other rodents, so we can't unconditionally treat those events as mouse-wheel events. But this does not apply to the `wheel-up/down/...` events. So hard code them. * lisp/mwheel.el (mwheel--is-dir-p): Always consider the `wheel-DIR` events. (mouse-wheel--setup-bindings): Always bind the `wheel-DIR` events. * lisp/completion-preview.el (completion-preview--mouse-map): Unconditionally bind the `wheel-DIR` events. * lisp/edmacro.el (edmacro-fix-menu-commands): Hard code the `wheel-DIR` events as mouse events regardless of `mouse-wheel-*-event`s. * lisp/progmodes/flymake.el (flymake--mode-line-counter-map): Do nothing, because it's already been done in commit e5be6c7ae309. * doc/lispref/commands.texi (Misc Events): Document the need to use `wheel-up/down/left/right` unconditionally.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions