summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-09-12 09:40:15 +0000
committerEli Zaretskii <eliz@gnu.org>2009-09-12 09:40:15 +0000
commit8f825ee6f588a48c5b51c5f886edb6bcf3ab1178 (patch)
tree79c447e34c4eb836ecc49e130fe58645218379d6 /lisp
parentab5c0fcd35dcdf465a597ed83e5783bbbf70eff1 (diff)
downloademacs-8f825ee6f588a48c5b51c5f886edb6bcf3ab1178.tar.gz
Fix last change.
(mouse-wheel-mode): New defvar. (mouse-wheel-mode): Remove autoload cookie.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/mwheel.el3
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9bd63cf99aa..d58ca1a5bde 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-12 Eli Zaretskii <eliz@gnu.org>
+
+ * mwheel.el: Fix last change.
+ (mouse-wheel-mode): New defvar.
+ (mouse-wheel-mode): Remove autoload cookie.
+
2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
* mwheel.el (mwheel-installed-bindings): New var.
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index d457679d4f2..31e26c14487 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -41,6 +41,8 @@
(require 'custom)
(require 'timer)
+(defvar mouse-wheel-mode nil)
+
;; Setter function for mouse-button user-options. Switch Mouse Wheel
;; mode off and on again so that the old button is unbound and
;; new button is bound to mwheel-scroll.
@@ -239,7 +241,6 @@ This should only be bound to mouse buttons 4 and 5."
(defvar mwheel-installed-bindings nil)
-;;;###autoload
(define-minor-mode mouse-wheel-mode
"Toggle mouse wheel support.
With prefix argument ARG, turn on if positive, otherwise off.