Function: isearch-yank-word-or-char

isearch-yank-word-or-char is an interactive and byte-compiled function defined in isearch.el.gz.

Signature

(isearch-yank-word-or-char &optional ARG)

Documentation

Pull next character or word from buffer into search string.

If optional ARG is non-nil, pull in the next ARG characters/words.

Probably introduced at or before Emacs version 22.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-yank-word-or-char (&optional arg)
  "Pull next character or word from buffer into search string.
If optional ARG is non-nil, pull in the next ARG characters/words."
  (interactive "p")
  (isearch--yank-char-or-syntax '(?w) 'forward-word arg))