From: Richard M. Stallman Date: Mon, 27 Apr 1998 22:05:53 +0000 (+0000) Subject: (isearch-yank-x-selection): Doc fix. X-Git-Tag: emacs-20.3~1284 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57ff063d0b21457e9087aa91a5e152dc1bcf6002;p=emacs.git (isearch-yank-x-selection): Doc fix. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index bcc82b79b8b..05710466adc 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -966,7 +966,11 @@ If no previous match was done, just beep." (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)))