branch: externals/denote-journal
commit 041db7614f78554cf2cb7fe4fc3299098f322a3a
Merge: 81d0531df6 4d1bf9dd41
Author: Protesilaos Stavrou <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #5 from honza/call-dir
    
    Expand denote-journal-directory in entry-today
---
 denote-journal.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-journal.el b/denote-journal.el
index f2348c2d63..ee1469ca8c 100644
--- a/denote-journal.el
+++ b/denote-journal.el
@@ -200,7 +200,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'."
-  (let ((denote-directory (file-name-as-directory denote-journal-directory)))
+  (let ((denote-directory (file-name-as-directory (denote-journal-directory))))
     (denote-directory-files (denote-journal--filename-date-regexp date))))
 
 ;;;###autoload

Reply via email to