From: Lars Magne Ingebrigtsen Date: Thu, 14 Jul 2011 14:01:16 +0000 (+0200) Subject: mouse-set-region doc fix X-Git-Tag: emacs-pretest-24.0.90~104^2~286 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=43f5740b71b90057bf18013245eb906286b3a334;p=emacs.git mouse-set-region doc fix * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in the doc string (bug#7015). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1edb18ecb4c..068f1f6cb47 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-14 Lars Magne Ingebrigtsen + * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in + the doc string (bug#7015). + * font-lock.el (font-lock-maximum-decoration): Mention what numeric levels mean (bug#6935). 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)))