X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/998fc3676243277f3b1c73eb91c055c80a7498c7..b6bd159922608fa474026837771d63bf7eadcf97:/lisp/mwheel.el diff --git a/lisp/mwheel.el b/lisp/mwheel.el index f88b2e8650..4ead168b18 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el @@ -1,9 +1,9 @@ ;;; mwheel.el --- Wheel mouse support -;; Copyright (C) 1998, 2000, 2001, 2002, 2002, 2004, 2005, 2006, 2007, -;; 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1998, 2000-2011 Free Software Foundation, Inc. ;; Maintainer: William M. Perry ;; Keywords: mouse +;; Package: emacs ;; This file is part of GNU Emacs. @@ -246,7 +246,7 @@ This should only be bound to mouse buttons 4 and 5." (run-with-timer mouse-wheel-inhibit-click-time nil 'mwheel-inhibit-click-timeout)))) -(add-to-list 'scroll-preserve-screen-position-commands 'mwheel-scroll) +(put 'mwheel-scroll 'scroll-command t) (defvar mwheel-installed-bindings nil) @@ -284,5 +284,4 @@ Return non-nil if the new state is enabled." (provide 'mwheel) -;; arch-tag: 50ed00e7-3686-4b7a-8037-fb31aa5c237f ;;; mwheel.el ends here