aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-14 16:01:16 +0200
committerLars Magne Ingebrigtsen2011-07-14 16:01:16 +0200
commit43f5740b71b90057bf18013245eb906286b3a334 (patch)
tree47f50fde294557128a49505d89ca2661f93c05de /lisp
parentf2182a765ac9c71d0d55ed27b097f8025db0d252 (diff)
downloademacs-43f5740b71b90057bf18013245eb906286b3a334.tar.gz
emacs-43f5740b71b90057bf18013245eb906286b3a334.zip
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')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/mouse.el4
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1edb18ecb4c..068f1f6cb47 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4 the doc string (bug#7015).
5
3 * font-lock.el (font-lock-maximum-decoration): Mention what 6 * font-lock.el (font-lock-maximum-decoration): Mention what
4 numeric levels mean (bug#6935). 7 numeric levels mean (bug#6935).
5 8
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."
687 687
688(defun mouse-set-region (click) 688(defun mouse-set-region (click)
689 "Set the region to the text dragged over, and copy to kill ring. 689 "Set the region to the text dragged over, and copy to kill ring.
690This should be bound to a mouse drag event." 690This should be bound to a mouse drag event.
691See the `mouse-drag-copy-region' variable to control whether this
692command alters the kill ring or not."
691 (interactive "e") 693 (interactive "e")
692 (mouse-minibuffer-check click) 694 (mouse-minibuffer-check click)
693 (select-window (posn-window (event-start click))) 695 (select-window (posn-window (event-start click)))