summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-14 16:01:16 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-14 16:01:16 +0200
commit43f5740b71b90057bf18013245eb906286b3a334 (patch)
tree47f50fde294557128a49505d89ca2661f93c05de /lisp/mouse.el
parentf2182a765ac9c71d0d55ed27b097f8025db0d252 (diff)
downloademacs-43f5740b71b90057bf18013245eb906286b3a334.tar.gz
mouse-set-region doc fix
* mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in the doc string (bug#7015).
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 4de3e175a4a..63395619f44 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -687,7 +687,9 @@ This should be bound to a mouse click event type."
(defun mouse-set-region (click)
"Set the region to the text dragged over, and copy to kill ring.
-This should be bound to a mouse drag event."
+This should be bound to a mouse drag event.
+See the `mouse-drag-copy-region' variable to control whether this
+command alters the kill ring or not."
(interactive "e")
(mouse-minibuffer-check click)
(select-window (posn-window (event-start click)))