X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/60dd06a08276422871cd3d491a44d10d4bdc690c..84bd6e9e02c051816d8ba8e31fec2c3f912ae8fa:/lisp/mwheel.el?ds=sidebyside diff --git a/lisp/mwheel.el b/lisp/mwheel.el index 743204cbe4..05aeb12acf 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. @@ -250,11 +250,11 @@ This should only be bound to mouse buttons 4 and 5." (defvar mwheel-installed-bindings nil) -;; preloaded ;;;###autoload (define-minor-mode mouse-wheel-mode - "Toggle mouse wheel support. -With prefix argument ARG, turn on if positive, otherwise off. -Return non-nil if the new state is enabled." + "Toggle mouse wheel support (Mouse Wheel mode). +With a prefix argument ARG, enable Mouse Wheel mode if ARG is +positive, and disable it otherwise. If called from Lisp, enable +the mode if ARG is omitted or nil." :init-value t ;; We'd like to use custom-initialize-set here so the setup is done ;; before dumping, but at the point where the defcustom is evaluated, @@ -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