From 57ff063d0b21457e9087aa91a5e152dc1bcf6002 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 27 Apr 1998 22:05:53 +0000 Subject: [PATCH] (isearch-yank-x-selection): Doc fix. --- lisp/isearch.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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))) -- 2.39.2