Variable: isearch-forward-thing-at-point

isearch-forward-thing-at-point is a customizable variable defined in isearch.el.gz.

Value

(region url symbol sexp)

Documentation

A list of symbols to try to get the "thing" at point.

Each element of the list should be one of the symbols supported by bounds-of-thing-at-point. This variable is used by the command isearch-forward-thing-at-point(var)/isearch-forward-thing-at-point(fun) to yank the initial "thing" as text to the search string.

This variable was added, or its default value changed, in Emacs 28.1.

View in manual

Probably introduced at or before Emacs version 28.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defcustom isearch-forward-thing-at-point '(region url symbol sexp)
  "A list of symbols to try to get the \"thing\" at point.
Each element of the list should be one of the symbols supported by
`bounds-of-thing-at-point'.  This variable is used by the command
`isearch-forward-thing-at-point' to yank the initial \"thing\"
as text to the search string."
  :type '(repeat (symbol :tag "Thing symbol"))
  :group 'isearch
  :version "28.1")