xref-find-function

xref-find-function is a variable defined in `xref.el'.
Its value is
etags-xref-find

  • This variable may be risky if used as a file-local variable.

Documentation:
Function to look for cross-references.
It can be called in several ways:

(definitions IDENTIFIER): Find definitions of IDENTIFIER. The
result must be a list of xref objects. If no definitions can be
found, return nil.

(references IDENTIFIER): Find references of IDENTIFIER. The
result must be a list of xref objects. If no references can be
found, return nil.

(apropos PATTERN): Find all symbols that match PATTERN. PATTERN
is a regexp.

IDENTIFIER can be any string returned by
`xref-identifier-at-point-function', or from the table returned
by `xref-identifier-completion-table-function'.

To create an xref object, call `xref-make'.