summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2022-03-17 13:49:16 +0100
committerfpi2022-03-17 14:45:42 +0100
commit442fc567ffae19ba4d7c12ba2b6e92a1d0dd4f85 (patch)
treedd582a629274cbd72a23d01367fafef56032806a
parentReplace org-ref with org cite (diff)
Properly set org-journal-file
-rw-r--r--emacs-init.org4
1 files changed, 3 insertions, 1 deletions
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
`(
<<org-capture-templates>>))