branch: externals/denote-journal
commit 4c8bf6a3101c7aac7d6c3221625d49cfeb6dcb6d
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Make denote-journal--entry-today query the denote-journal-directory instead 
of denote-directory
    
    Before we were not supporting the case of 'denote-journal-directory'
    being separate from the 'denote-directory'. We want to make this
    possible and it is now supported as part of commit c0df642 in
    denote.git. Thanks to Kevin McCarthy for reporting the bug in issue 1:
    <https://github.com/protesilaos/denote-journal/issues/1>.
---
 README.org        | 2 ++
 denote-journal.el | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 436ae1fdc9..05fe0014c7 100644
--- a/README.org
+++ b/README.org
@@ -384,6 +384,8 @@ Denote Journal is meant to be a collective effort.  Every 
bit of help matters.
 
 + Author/maintainer :: Protesilaos Stavrou.
 
++ Ideas and/or user feedback :: Kevin McCarthy.
+
 * GNU Free Documentation License
 :PROPERTIES:
 :APPENDIX: t
diff --git a/denote-journal.el b/denote-journal.el
index 04ab43b8d8..f2650cd83e 100644
--- a/denote-journal.el
+++ b/denote-journal.el
@@ -198,7 +198,7 @@ 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)))
+  (denote-directory-files (denote-journal--filename-date-regexp date) nil nil 
nil denote-journal-directory))
 
 (define-obsolete-function-alias
   'denote-journal-extra-path-to-new-or-existing-entry

Reply via email to