aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/lisp/packages/rul-org-journal.el
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2023-02-21 19:44:16 -0800
committerRaul Benencia <id@rbenencia.name>2023-02-21 19:44:16 -0800
commit492049470fa3d486d909f50ddca59b335c8a44bb (patch)
tree2a11a54593dc6f63c9985bb02b5d28ae2db2e3ba /.emacs.local.d/lisp/packages/rul-org-journal.el
parent4cd3b3371dcf77171b98dc12f48da248b2f703b2 (diff)
emacs: reorganize org files
Diffstat (limited to '.emacs.local.d/lisp/packages/rul-org-journal.el')
-rw-r--r--.emacs.local.d/lisp/packages/rul-org-journal.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/.emacs.local.d/lisp/packages/rul-org-journal.el b/.emacs.local.d/lisp/packages/rul-org-journal.el
new file mode 100644
index 0000000..ab07a19
--- /dev/null
+++ b/.emacs.local.d/lisp/packages/rul-org-journal.el
@@ -0,0 +1,16 @@
+(use-package org-journal
+ :ensure t
+ :init
+ ;; Change default prefix key; needs to be set before loading org-journal
+ (setq org-journal-prefix-key "C-c j ")
+ (setq org-journal-file-format my-org-journal-file-format)
+ (setq org-journal-enable-agenda-integration t)
+ :config
+ (require 'rul-config-org)
+ (setq org-journal-dir my-org-journal-dir
+ org-journal-file-type my-org-journal-file-type
+ org-journal-time-prefix my-org-journal-time-prefix
+ org-journal-time-format my-org-journal-time-format
+ org-journal-date-format "%A, %d %B %Y"))
+
+(provide 'rul-org-journal)
nihil fit ex nihilo