branch: externals/denote commit 10be24b0edd3c85c7919284e2963a7014b864246 Author: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com> Commit: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com>
Make denote--directory-get-files return only regular files --- denote.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/denote.el b/denote.el index 3910ef01c5..3ab1498ea0 100644 --- a/denote.el +++ b/denote.el @@ -1015,7 +1015,8 @@ are not backups." #'expand-file-name (seq-filter (lambda (file) - (and (denote-file-has-identifier-p file) + (and (file-regular-p file) + (denote-file-has-identifier-p file) (not (backup-file-name-p file)))) (denote--directory-all-files-recursively))))