From e05295a4dea200980119f790adeeb200092680a3 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 8 Dec 2022 09:02:53 +0000 Subject: moved denote journal files into journals directory --- init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index aa0bd7e..df1cb1d 100644 --- a/init.el +++ b/init.el @@ -277,12 +277,12 @@ Restart works only on graphic display." (interactive) (let* ((today-journal (car (-non-nil - (mapcar #'mrl/is-todays-journal? (directory-files (denote-directory) nil "_journal")))))) + (mapcar #'mrl/is-todays-journal? (directory-files (concat (denote-directory) "journals") nil "_journal")))))) (if today-journal - (find-file (concat (denote-directory )today-journal)) + (find-file (concat (denote-directory) "journals/" today-journal)) (denote (format-time-string "%A %e %B %Y") - '("journal"))))) + '("journal") nil (concat (denote-directory) "journals"))))) :bind (("C-c n n" . denote-create-note) ("C-c n d" . mrl/denote-journal) -- cgit v1.2.3