1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

mouse-set-region doc fix

* mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
the doc string (bug#7015).
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-14 16:01:16 +02:00
parent f2182a765a
commit 43f5740b71
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* 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).

View File

@ -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)))