Function: evil-find-thing

evil-find-thing is a byte-compiled function defined in evil-search.el.

Signature

(evil-find-thing FORWARD THING)

Documentation

Return a THING near point as a string.

THING should be a symbol understood by thing-at-point, e.g. symbol or word. If FORWARD is nil, search backward, otherwise forward. Returns nil if nothing is found.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-search.el
(defun evil-find-thing (forward thing)
  "Return a THING near point as a string.
THING should be a symbol understood by `thing-at-point',
e.g. `symbol' or `word'.  If FORWARD is nil, search backward,
otherwise forward.  Returns nil if nothing is found."
  (car (evil--find-thing forward thing)))