Mercurial > emacs
changeset 104980:a3d3fc00075b
Fix last change.
(mouse-wheel-mode): New defvar.
(mouse-wheel-mode): Remove autoload cookie.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 12 Sep 2009 09:39:49 +0000 |
parents | c545eaa5edad |
children | f66e7a565db0 |
files | lisp/mwheel.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.