Jason Rumney
5608c89603
(mwheel-event-button): Translate mouse-wheel events.
...
(mwheel-scroll): Recognize nil scroll amount as documented.
2002-05-04 22:16:04 +00:00
Pavel Janík
7ad8cd8e23
(mouse-wheel-mode): Use global-set-key and global-unset-key.
2002-03-25 11:31:11 +00:00
Pavel Janík
49e30cd638
(mouse-wheel-mode): Use the result of current-global-map instead of the
...
variable `global-map'.
2002-03-24 15:25:11 +00:00
Miles Bader
adf953ac72
(mwheel-scroll): Remove double' and
triple' from the
...
event-modifiers before looking up in `mouse-wheel-scroll-amount'.
If there's no applicable modifiers entry in the alist in
`mouse-wheel-scroll-amount', fall back to the default, not to
nil (which causes full screen scrolls).
2002-03-02 08:21:33 +00:00
Miles Bader
f5b92c898a
(mouse-wheel-mode): Pass vectors instead of symbols
...
to `define-key', since it no longer accepts the latter.
2002-02-25 23:48:40 +00:00
Sam Steingold
a2372cfd06
Can specify different scroll amounts for different modifiers now.
2002-02-19 17:53:07 +00:00
Stefan Monnier
d3b32bfd6c
(mouse-wheel-scroll-amount): Allow float values.
...
(mouse-wheel-scroll-amount): New var.
(mwheel-scroll): Use it and handle float values.
2001-11-19 21:57:30 +00:00
Gerd Moellmann
bf85004b27
(mouse-wheel-down-button, mouse-wheel-up-button):
...
New user-options.
(mouse-wheel-change-button): New function.
(mouse-wheel-mode): Use mouse-wheel-{up,down}-button.
(mwheel-scroll): Ditto.
2001-07-27 08:41:35 +00:00
Miles Bader
937b28770e
(mouse-wheel-scroll-amount): Renamed from `mwheel-scroll-amount'.
...
(mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
(mouse-wheel-mode): Use (featurep 'xemacs) instead of
string-matching against the version string.
2000-11-06 01:43:37 +00:00
Stefan Monnier
7ef86b0758
(mouse-wheel-mode): Drop unneeded positional args.
2000-11-03 22:30:09 +00:00
Miles Bader
f4cbc7a0dd
(mouse-wheel-mode): New global minor mode.
...
(mwheel-install): Use `mouse-wheel-mode'.
2000-10-25 11:39:51 +00:00
Gerd Moellmann
8ed8f294a3
Fix copyright notice. Don't require 'cl at run time.
1999-11-11 14:01:46 +00:00
William M. Perry
a32b741961
Initial import from perry
1999-11-10 21:54:54 +00:00