branch: externals/denote-journal commit 1e94c245d89cd7cbedb6e30b1ffe32a0230f8663 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Reword the doc string of the function denote-journal-directory --- denote-journal.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/denote-journal.el b/denote-journal.el index 48d89b4912..d783b3d99c 100644 --- a/denote-journal.el +++ b/denote-journal.el @@ -115,7 +115,8 @@ journal entry (refer to the `tmr' package on GNU ELPA)." :type 'hook) (defun denote-journal-directory () - "Make the variable `denote-journal-directory' and its parents." + "Return the variable `denote-journal-directory' as a directory. +If the path does not exist, then make it first." (if-let* (((stringp denote-journal-directory)) (directory (file-name-as-directory (expand-file-name denote-journal-directory)))) (progn