comparison lisp/isearch.el @ 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 f88e08d192a8
children 7c42ab0fcb30
comparison
equal deleted inserted replaced
21791:ec09080bc3e1 21792:c988549f43cd
964 "Pull string from kill ring into search string." 964 "Pull string from kill ring into search string."
965 (interactive) 965 (interactive)
966 (isearch-yank-string (current-kill 0))) 966 (isearch-yank-string (current-kill 0)))
967 967
968 (defun isearch-yank-x-selection () 968 (defun isearch-yank-x-selection ()
969 "Pull current X selection into search string." 969 "Pull current X selection into search string.
970 Some users like to put this command on Mouse-2.
971 To do that, evaluate these expressions:
972 (define-key isearch-mode-map [down-mouse-2] nil)
973 (define-key isearch-mode-map [mouse-2] 'isearch-yank-x-selection)"
970 (interactive) 974 (interactive)
971 (isearch-yank-string (x-get-selection))) 975 (isearch-yank-string (x-get-selection)))
972 976
973 (defun isearch-yank-word () 977 (defun isearch-yank-word ()
974 "Pull next word from buffer into search string." 978 "Pull next word from buffer into search string."