branch: externals/denote-journal commit 9dc30469dbcecde57cd58fe32f621d61889c55e9 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Make denote-journal--entry-today return denote-journal-directory as a directory Just to be sure... --- denote-journal.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/denote-journal.el b/denote-journal.el index f2650cd83e..f790c6562f 100644 --- a/denote-journal.el +++ b/denote-journal.el @@ -198,7 +198,9 @@ DATE has the same format as that returned by `denote-valid-date-p'." (defun denote-journal--entry-today (&optional date) "Return list of files matching a journal for today or optional DATE. DATE has the same format as that returned by `denote-valid-date-p'." - (denote-directory-files (denote-journal--filename-date-regexp date) nil nil nil denote-journal-directory)) + (denote-directory-files + (denote-journal--filename-date-regexp date) + nil nil nil (file-name-as-directory denote-journal-directory))) (define-obsolete-function-alias 'denote-journal-extra-path-to-new-or-existing-entry