mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-07 20:54:32 +00:00
Fix last change.
(mouse-wheel-mode): New defvar. (mouse-wheel-mode): Remove autoload cookie.
This commit is contained in:
parent
ab5c0fcd35
commit
8f825ee6f5
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user