]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 12 Sep 2009 09:40:15 +0000 (09:40 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Sep 2009 09:40:15 +0000 (09:40 +0000)
(mouse-wheel-mode): New defvar.
(mouse-wheel-mode): Remove autoload cookie.

lisp/ChangeLog
lisp/mwheel.el

index 9bd63cf99aaff7c5fdf09c71026066d58a3ac62a..d58ca1a5bde586cc725fbd85eafe1f2ef3af5e11 100644 (file)
@@ -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.
index d457679d4f2db7cba325fe17c158a35ea9a8c2d8..31e26c14487f8d61b56f217ddfaf95753fb0ec7d 100644 (file)
@@ -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.