mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Use our pred instead of generic in file filtering
This commit is contained in:
parent
62e7adfbdb
commit
edbd2f7f1b
|
|
@ -93,7 +93,7 @@ Optional GROUP is a regexp construct for
|
||||||
(defun denote-retrieve--files-in-output (files)
|
(defun denote-retrieve--files-in-output (files)
|
||||||
"Return list of FILES from `find' output."
|
"Return list of FILES from `find' output."
|
||||||
(delq nil (mapcar (lambda (f)
|
(delq nil (mapcar (lambda (f)
|
||||||
(when (file-regular-p f) f))
|
(when (denote--only-note-p f) f))
|
||||||
files)))
|
files)))
|
||||||
|
|
||||||
;; TODO 2022-06-15: Maybe we can do the same in a more standard way?
|
;; TODO 2022-06-15: Maybe we can do the same in a more standard way?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue