branch: externals/denote-journal
commit 6395eae25ebbf62db7b62225121bf10b92550435
Merge: 729beaea78 2c0c542078
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #23 from abougouffa/main
    
    Small bug fix
---
 denote-journal.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-journal.el b/denote-journal.el
index e7d096b2bf..0f2eebda62 100644
--- a/denote-journal.el
+++ b/denote-journal.el
@@ -302,7 +302,7 @@ DATE has the same format as that returned by 
`denote-valid-date-p'."
         date))
     (error "The date `%s' does not satisfy `denote-valid-date-p'" date)))
 
-(defun denote-journal--get-entry (date interval)
+(defun denote-journal--get-entry (date &optional interval)
   "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'."

Reply via email to