Function: isearch-yank-x-selection
isearch-yank-x-selection is an interactive and byte-compiled function
defined in isearch.el.gz.
Signature
(isearch-yank-x-selection)
Documentation
Pull current X selection into search string.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-yank-x-selection ()
"Pull current X selection into search string."
(interactive)
(isearch-yank-string (gui-get-selection))
;; If `gui-get-selection' returned the text from the active region,
;; then it "used" the mark which we should hence deactivate.
(when select-active-regions (deactivate-mark)))