Function: isearch-yank-line

isearch-yank-line is an interactive and byte-compiled function defined in isearch.el.gz.

Signature

(isearch-yank-line &optional ARG)

Documentation

Pull rest of line from buffer into search string.

If optional ARG is non-nil, yank the next ARG lines.

Probably introduced at or before Emacs version 24.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-yank-line (&optional arg)
  "Pull rest of line from buffer into search string.
If optional ARG is non-nil, yank the next ARG lines."
  (interactive "p")
  (isearch-yank-internal
   (lambda () (let ((inhibit-field-text-motion t))
		(line-end-position (if (eolp) (1+ arg) arg))))))