# HG changeset patch # User Eli Zaretskii # Date 1252748389 0 # Node ID a3d3fc00075b100dbd30b1c54451fecb28bf4e0a # Parent c545eaa5edad7d47b936b9a0517c4d5e4f622a04 Fix last change. (mouse-wheel-mode): New defvar. (mouse-wheel-mode): Remove autoload cookie. diff -r c545eaa5edad -r a3d3fc00075b lisp/mwheel.el --- a/lisp/mwheel.el Sat Sep 12 04:38:03 2009 +0000 +++ b/lisp/mwheel.el Sat Sep 12 09:39:49 2009 +0000 @@ -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 @@ (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.