Variable: find-feature-regexp
find-feature-regexp is a customizable variable defined in
find-func.el.gz.
Value
";;; Code:"
Documentation
Regexp used by xref-find-definitions when searching for a feature definition.
Note it may contain up to one %s at the place where format
should insert the feature name.
This variable was added, or its default value changed, in Emacs 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
(defcustom find-feature-regexp
(concat ";;; Code:")
"Regexp used by `xref-find-definitions' when searching for a feature definition.
Note it may contain up to one `%s' at the place where `format'
should insert the feature name."
;; We search for ";;; Code" rather than (feature '%s) because the
;; former is near the start of the code, and the latter is very
;; uninteresting. If the regexp is not found, just goes to
;; (point-min), which is acceptable in this case.
:type 'regexp
:group 'xref
:version "25.1")