summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-27 14:02:23 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-27 14:02:23 +0200
commita7f2eb3054588ce627aeb6c24ca0b4c469f68914 (patch)
tree377ccd650fb4311e575b16282193efb47aa71553 /lisp/mouse.el
parent5aef2623a37d9fe452b7072dbd12c7a24dd971e2 (diff)
downloademacs-a7f2eb3054588ce627aeb6c24ca0b4c469f68914.tar.gz
Make isearch respond to 'mouse-yank-at-point'
* doc/emacs/killing.texi (Secondary Selection): Document it. * lisp/isearch.el (isearch-mouse-2): Make isearch respond to mouse-yank-at-point (bug#7787). * lisp/mouse.el (mouse-yank-at-point): Mention it.
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 b66cfad4878..c08ecaf3347 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -42,7 +42,9 @@
:group 'editing)
(defcustom mouse-yank-at-point nil
- "If non-nil, mouse yank commands yank at point instead of at click."
+ "If non-nil, mouse yank commands yank at point instead of at click.
+This also allows yanking text into an isearch without moving the
+mouse cursor to the echo area."
:type 'boolean)
(defcustom mouse-drag-copy-region nil