diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-12-14 13:31:29 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-12-14 13:31:29 +0000 |
commit | 51944f911dfef94c0f8a26013d0018aa170f7303 (patch) | |
tree | 18573c2b542f5bf560304edece57630c4a390a73 /init.el | |
parent | 2e69b71d0fef261803ffda3a67928eb50f489271 (diff) |
adding a template for MOD journal files
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -356,9 +356,13 @@ Restart works only on graphic display." (mapcar #'mrl/is-todays-journal? (directory-files journal-dir nil "_journal")))))) (if today-journal (find-file (concat journal-dir "/" today-journal)) - (denote + (if mrl/in-mod-denote ; this variable is from the .dir-locals.el file in the silo directory; we want to use a specific template + (denote (format-time-string "%A %e %B %Y") - '("journal") nil journal-dir)))) + '("journal") nil journal-dir nil 'modjournal) + (denote + (format-time-string "%A %e %B %Y") + '("journal") nil journal-dir))))) :bind (("C-c n n" . denote-create-note) ("C-c n d" . mrl/denote-journal) |