Function: elisp--xref-make-xref

elisp--xref-make-xref is a byte-compiled function defined in elisp-mode.el.gz.

Signature

(elisp--xref-make-xref TYPE SYMBOL FILE &optional SUMMARY)

Documentation

Return an xref for TYPE SYMBOL in FILE.

TYPE must be a type in find-function-regexp-alist (use nil for defun). If SUMMARY is non-nil, use it for the summary; otherwise build the summary from TYPE and SYMBOL.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/elisp-mode.el.gz
(defvar find-feature-regexp);; in find-func.el

(defun elisp--xref-make-xref (type symbol file &optional summary)
  "Return an xref for TYPE SYMBOL in FILE.
TYPE must be a type in `find-function-regexp-alist' (use nil for
`defun').  If SUMMARY is non-nil, use it for the summary;
otherwise build the summary from TYPE and SYMBOL."
  (xref-make (or summary
		 (format elisp--xref-format (or type 'defun) symbol))
	     (xref-make-elisp-location symbol type file)))