# HG changeset patch # User Richard M. Stallman # Date 893714753 0 # Node ID c988549f43cd60702b394eaa346a1820e261b5a1 # Parent ec09080bc3e14d5199795cda9b304ff47c777a92 (isearch-yank-x-selection): Doc fix. diff -r ec09080bc3e1 -r c988549f43cd lisp/isearch.el --- 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)))