branch: externals/denote-journal
commit 00697160ae3d78816b9a8036c12312493ed7b49a
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use the new calling convention for denote-directory-files in
denote-journal--get-entry
---
denote-journal.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/denote-journal.el b/denote-journal.el
index f1e42da4e0..688a0af308 100644
--- a/denote-journal.el
+++ b/denote-journal.el
@@ -326,8 +326,7 @@ DATE has the same format as that returned by
`denote-valid-date-p'."
"Return list of files matching a journal for DATE given INTERVAL.
INTERVAL is one among the symbols used by `denote-journal-interval'.
DATE has the same format as that returned by `denote-valid-date-p'."
- (let ((denote-directory (denote-journal-directory)))
- (denote-directory-files (denote-journal--filename-regexp date interval))))
+ (denote-directory-files (denote-journal--filename-regexp date interval) nil
nil nil nil (denote-journal-directory)))
(defun denote-journal-select-file-prompt (files)
"Prompt for file among FILES if >1, else return the `car'.