Add possible to-do for using xref

This commit is contained in:
Protesilaos Stavrou 2022-06-15 16:54:28 +03:00
parent 5195f13f55
commit e37e429844
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -80,6 +80,10 @@ FILE is a note in the variable `denote-directory'."
(when (file-regular-p f) f))
files)))
;; TODO 2022-06-15: Maybe we can do the same in a more standard way?
;; Perhaps with `xref-matches-in-files'?
;;
;; (xref-matches-in-files IDENTIFIER (denote--directory-files :absolute))
(defun denote-retrieve--proces-grep (identifier)
"Process lines matching IDENTIFIER and return list of files."
(let* ((default-directory (denote-directory))