[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/mouse-drag.el,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/mouse-drag.el,v |
Date: |
Sat, 05 Jul 2008 04:27:39 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 08/07/05 04:27:38
Index: mouse-drag.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mouse-drag.el,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- mouse-drag.el 6 May 2008 07:57:44 -0000 1.21
+++ mouse-drag.el 5 Jul 2008 04:27:37 -0000 1.22
@@ -48,8 +48,7 @@
;; for ``one-click text copy and move''.
;;
;; To use mouse-drag, place the following in your .emacs file:
-;; (require 'mouse-drag)
-;; -and either-
+;; -either-
;; (global-set-key [down-mouse-2] 'mouse-drag-throw)
;; -or-
;; (global-set-key [down-mouse-2] 'mouse-drag-drag)
@@ -187,7 +186,7 @@
(if (< mouse-delta 0) -1 1)
(if mouse-throw-with-scroll-bar 1 -1)))
-
+;;;###autoload
(defun mouse-drag-throw (start-event)
"\"Throw\" the page according to a mouse drag.
@@ -254,6 +253,7 @@
;; Now restore the old window.
(select-window old-selected-window)))
+;;;###autoload
(defun mouse-drag-drag (start-event)
"\"Drag\" the page according to a mouse drag.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/mouse-drag.el,v,
Stefan Monnier <=