]> code.delx.au - gnu-emacs/blobdiff - lisp/mwheel.el
Merge from emacs-23
[gnu-emacs] / lisp / mwheel.el
index c505833502abc6d6fa3820a80fe77e30131b3568..2fc84c062458f826f5d8aad6a6e96bb6183bef36 100644 (file)
@@ -4,6 +4,7 @@
 ;;   2008, 2009, 2010  Free Software Foundation, Inc.
 ;; Maintainer: William M. Perry <wmperry@gnu.org>
 ;; Keywords: mouse
+;; Package: emacs
 
 ;; This file is part of GNU Emacs.
 
@@ -246,6 +247,8 @@ This should only be bound to mouse buttons 4 and 5."
          (run-with-timer mouse-wheel-inhibit-click-time nil
                          'mwheel-inhibit-click-timeout))))
 
+(put 'mwheel-scroll 'scroll-command t)
+
 (defvar mwheel-installed-bindings nil)
 
 ;; preloaded ;;;###autoload