branch: externals/denote commit 46d1825bf23af57584385d8336cc16ac166cbd2e Author: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com> Commit: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com>
Use denote-file-has-denoted-filename-p in denote-directory-get-files --- denote.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/denote.el b/denote.el index 7bb460fa2a..4e9629dce8 100644 --- a/denote.el +++ b/denote.el @@ -1324,14 +1324,14 @@ Avoids traversing dotfiles (unconditionally) and whatever matches (defun denote-directory-get-files () "Return list with full path of valid files in variable `denote-directory'. -Consider files that satisfy `denote-file-has-identifier-p' and +Consider files that satisfy `denote-file-has-denoted-filename-p' and are not backups." (mapcar #'expand-file-name (seq-filter (lambda (file) (and (file-regular-p file) - (denote-file-has-identifier-p file) + (denote-file-has-denoted-filename-p file) (not (denote--file-excluded-p file)) (not (backup-file-name-p file)))) (denote--directory-all-files-recursively))))