From 442fc567ffae19ba4d7c12ba2b6e92a1d0dd4f85 Mon Sep 17 00:00:00 2001 From: fpi Date: Thu, 17 Mar 2022 13:49:16 +0100 Subject: Properly set org-journal-file --- emacs-init.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs-init.org b/emacs-init.org index 304caf1..e288c6e 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -4599,9 +4599,11 @@ Also exclude =ATTACH= from the inherited tags #+end_src *** Org-Capture #+BEGIN_SRC emacs-lisp +(setq org-journal-file (format "~/sync/journal/%s.org" (nth 2 (calendar-current-date)))) (use-package org-capture + :after org :custom - ((org-journal-file (format "~/sync/journal/%s.org" (nth 2 (calendar-current-date)))) + ( (org-capture-templates `( <>)) -- cgit v1.2.3