aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2022-02-16 10:50:40 -0800
committerRaul Benencia <rul@kalgan.cc>2022-02-16 10:50:40 -0800
commit68031dedeba34f1efd39caeab21d939d5592fdb4 (patch)
tree9adce7d5f2df9d702c246faeeb1249d53f613599
parent3b6e30507ce0e0292056ac2538daccb1e40475b9 (diff)
emacs: org-journal fixups
-rw-r--r--.emacs.local.d/config.el12
-rw-r--r--.emacs.local.d/modes/org-journal.el5
2 files changed, 11 insertions, 6 deletions
diff --git a/.emacs.local.d/config.el b/.emacs.local.d/config.el
index cb3d088..ffc641a 100644
--- a/.emacs.local.d/config.el
+++ b/.emacs.local.d/config.el
@@ -1,4 +1,8 @@
-(setq my-org-agenda-files '("~/org/"))
-(setq my-org-journal-dir "~/org/journal/")
-(setq my-org-refile-path "~/refile.org")
-(setq my-org-roam-directory "~/org/roam/")
+(setq
+ my-org-agenda-files '("~/org/")
+ my-org-journal-file-type 'yearly
+ my-org-journal-dir "~/org/journal/"
+ my-org-journal-file-format "%Y.org"
+ my-org-journal-time-prefix "* "
+ my-org-refile-path "~/refile.org"
+ my-org-roam-directory "~/org/roam/")
diff --git a/.emacs.local.d/modes/org-journal.el b/.emacs.local.d/modes/org-journal.el
index d298f05..bf24f20 100644
--- a/.emacs.local.d/modes/org-journal.el
+++ b/.emacs.local.d/modes/org-journal.el
@@ -6,6 +6,7 @@
(setq org-journal-prefix-key "C-c j ")
:config
(setq org-journal-dir my-org-journal-dir
- org-journal-file-format "%Y.org"
- org-journal-file-type 'yearly
+ org-journal-file-type my-org-journal-file-type
+ org-journal-time-prefix my-org-journal-time-prefix
+ org-journal-time-format ""
org-journal-date-format "%A, %d %B %Y"))
nihil fit ex nihilo