Function: denote-retrieve-groups-xref-query
denote-retrieve-groups-xref-query is a byte-compiled function defined
in denote.el.
Signature
(denote-retrieve-groups-xref-query QUERY &optional FILES-MATCHING-REGEXP)
Documentation
Access location of xrefs for QUERY and group them per file.
Limit the search to text files. With optional FILES-MATCHING-REGEXP,
pass it to denote-directory-files.
Aliases
denote--retrieve-group-in-xrefs (obsolete since 4.0.0)
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-retrieve-groups-xref-query (query &optional files-matching-regexp)
"Access location of xrefs for QUERY and group them per file.
Limit the search to text files. With optional FILES-MATCHING-REGEXP,
pass it to `denote-directory-files'."
(when-let* ((files (denote-directory-files files-matching-regexp nil :text-only))
(locations (mapcar #'xref-match-item-location (xref-matches-in-files query files))))
(mapcar #'xref-location-group locations)))