(mouse-wheel-mode): Make sure the new defvar doesn't
commit0a4afea9b6d3b4283611ffabeb34f1fe1a737e45
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Sep 2009 19:03:49 +0000 (12 19:03 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Sep 2009 19:03:49 +0000 (12 19:03 +0000)
tree95eae46eaf112c67b6b939b8460baf43cff1bb05
parentbf01513fff1644d22b7db6864de1539db7438c5a
(mouse-wheel-mode): Make sure the new defvar doesn't
actually define the variable, but only silences the byte-compiler.
(mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
before looking it up.
(mouse-wheel-scroll-amount): Also reset the bindings if this value is changed.
lisp/ChangeLog
lisp/mwheel.el