changeset 21792:c988549f43cd

(isearch-yank-x-selection): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 27 Apr 1998 22:05:53 +0000
parents ec09080bc3e1
children 465a6898b727
files lisp/isearch.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Mon Apr 27 20:54:19 1998 +0000
+++ b/lisp/isearch.el	Mon Apr 27 22:05:53 1998 +0000
@@ -966,7 +966,11 @@
   (isearch-yank-string (current-kill 0)))
 
 (defun isearch-yank-x-selection ()
-  "Pull current X selection into search string."
+  "Pull current X selection into search string.
+Some users like to put this command on Mouse-2.
+To do that, evaluate these expressions:
+    (define-key isearch-mode-map [down-mouse-2] nil)
+    (define-key isearch-mode-map [mouse-2] 'isearch-yank-x-selection)"
   (interactive)
   (isearch-yank-string (x-get-selection)))