diff --git a/unravel-emacs.org b/unravel-emacs.org index 2b69678..b120798 100644 --- a/unravel-emacs.org +++ b/unravel-emacs.org @@ -5712,7 +5712,8 @@ Prot is the developer and maintainer of this package. ;; Remember to check the doc strings of those variables. (let ((dir (string-trim (shell-command-to-string "echo $DENOTE_DIRECTORY")))) (when (not (string-empty-p dir)) - (setq denote-directory (expand-file-name dir)))) + (setq denote-directory (expand-file-name dir)) + (setq denote-journal-extras-directory (expand-file-name "journal" denote-directory)))) (setq denote-infer-keywords t) (setq denote-sort-keywords t) (setq denote-excluded-directories-regexp "data") ; external data related to headings is stored in these directories (web archives) diff --git a/unravel-modules/unravel-study.el b/unravel-modules/unravel-study.el index 49649ef..1728981 100644 --- a/unravel-modules/unravel-study.el +++ b/unravel-modules/unravel-study.el @@ -72,7 +72,8 @@ ;; Remember to check the doc strings of those variables. (let ((dir (string-trim (shell-command-to-string "echo $DENOTE_DIRECTORY")))) (when (not (string-empty-p dir)) - (setq denote-directory (expand-file-name dir)))) + (setq denote-directory (expand-file-name dir)) + (setq denote-journal-extras-directory (expand-file-name "journal" denote-directory)))) (setq denote-infer-keywords t) (setq denote-sort-keywords t) (setq denote-excluded-directories-regexp "data") ; external data related to headings is stored in these directories (web archives)