Function: denote-retrieve-files-xref-query

denote-retrieve-files-xref-query is a byte-compiled function defined in denote.el.

Signature

(denote-retrieve-files-xref-query QUERY &optional FILES-MATCHING-REGEXP)

Documentation

Return sorted, deduplicated file names with matches for QUERY in their contents.

Limit the search to text files. With optional FILES-MATCHING-REGEXP, pass it to denote-directory-files.

Aliases

denote--retrieve-files-in-xrefs (obsolete since 4.0.0)

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-retrieve-files-xref-query (query &optional files-matching-regexp)
  "Return sorted, deduplicated file names with matches for QUERY in their contents.
Limit the search to text files.  With optional FILES-MATCHING-REGEXP,
pass it to `denote-directory-files'."
  (sort
   (delete-dups
    (denote-retrieve-groups-xref-query query files-matching-regexp))
   #'string-collate-lessp))