(isearch-yank-x-selection): Doc fix.
This commit is contained in:
parent
f4b50f66ee
commit
57ff063d0b
1 changed files with 5 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue