summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-12-08 09:02:53 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-12-08 09:02:53 +0000
commite05295a4dea200980119f790adeeb200092680a3 (patch)
tree8dc42dda812aa2bd747f2dfec3c014a67ea69306
parentf5e5319fdf6e89e19b0dc7094288e39a6b6527f7 (diff)
moved denote journal files into journals directory
-rw-r--r--init.el6
1 files 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)