Function: xref--add-log-current-defun
xref--add-log-current-defun is a byte-compiled function defined in
xref.el.gz.
Signature
(xref--add-log-current-defun)
Documentation
Return the string used to group a set of locations.
This function is used as a value for add-log-current-defun-function.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/xref.el.gz
(defun xref--add-log-current-defun ()
"Return the string used to group a set of locations.
This function is used as a value for `add-log-current-defun-function'."
(xref--group-name-for-display
(if-let* ((item (xref--item-at-point)))
(xref-location-group (xref-match-item-location item))
(xref--imenu-extract-index-name))
(xref--project-root (project-current))))