Skip to content

Commit

Permalink
org: Set org journal dir so that SPC-aojf works
Browse files Browse the repository at this point in the history
  • Loading branch information
Maverobot committed May 16, 2024
1 parent b473e7a commit df9fc6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spacemacs.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df9fc6e

Please sign in to comment.