branch: externals/denote-journal
commit f9a73299cd62f78d6916c4770aedf8be8621061d
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Use new calling convention in stead of '(denote-directory)'
---
 denote-journal.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-journal.el b/denote-journal.el
index 6b4c61a8d2..d89bd9c459 100644
--- a/denote-journal.el
+++ b/denote-journal.el
@@ -177,7 +177,7 @@ If the path does not exist, then make it first."
         (when (not (file-directory-p denote-journal-directory))
           (make-directory directory :parents))
         directory)
-    (denote-directory)))
+    (car (denote-directories))))
 
 (defun denote-journal-keyword ()
   "Return the value of the variable `denote-journal-keyword' as a list."

Reply via email to