(isearch-yank-x-selection): Doc fix.

This commit is contained in:
Richard M. Stallman 1998-04-27 22:05:53 +00:00
parent f4b50f66ee
commit 57ff063d0b

View file

@ -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)))