diff options
author | Eli Zaretskii <eliz@gnu.org> | 2009-09-12 09:40:15 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2009-09-12 09:40:15 +0000 |
commit | 8f825ee6f588a48c5b51c5f886edb6bcf3ab1178 (patch) | |
tree | 79c447e34c4eb836ecc49e130fe58645218379d6 /lisp/mwheel.el | |
parent | ab5c0fcd35dcdf465a597ed83e5783bbbf70eff1 (diff) | |
download | emacs-8f825ee6f588a48c5b51c5f886edb6bcf3ab1178.tar.gz |
Fix last change.
(mouse-wheel-mode): New defvar.
(mouse-wheel-mode): Remove autoload cookie.
Diffstat (limited to 'lisp/mwheel.el')
-rw-r--r-- | lisp/mwheel.el | 3 |
1 files changed, 2 insertions, 1 deletions
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. |