From df9fc6ed5cd25b59d9128506bda032cda41def12 Mon Sep 17 00:00:00 2001 From: Zheng Qu Date: Thu, 16 May 2024 23:12:49 +0200 Subject: [PATCH] org: Set org journal dir so that SPC-aojf works --- spacemacs.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacemacs.org b/spacemacs.org index a287ab7..fbbac3b 100644 --- a/spacemacs.org +++ b/spacemacs.org @@ -528,13 +528,13 @@ E.g. when visiting a soft/hard link. *** org-journal #+BEGIN_SRC emacs-lisp :tangle user-config.el (with-eval-after-load 'org-journal + (setq org-journal-dir "~/org/home/roam/journal/") (setq org-journal-file-type 'monthly) (setq org-journal-file-format "%Y%m%d.org")) (spacemacs/set-leader-keys "aojj" (lambda () (interactive) - (let ((org-journal-dir "~/org/home/roam/journal/")) - (org-journal-new-entry nil)))) + (org-journal-new-entry nil))) (spacemacs/declare-prefix "aojj" "journal-home") #+END_SRC *** org-table