summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-07-07 17:24:31 -0700
committerFranck Cuny <franck@fcuny.net>2022-07-07 17:40:33 -0700
commitbf8b31460408f7a94d0969114480c45ff7f7e68d (patch)
treed6d9f76b9fba2de05e78512bbbde51a3294036ff
parentfeat(org-mode): add capture template for emails (diff)
downloademacs.d-bf8b31460408f7a94d0969114480c45ff7f7e68d.tar.gz
feat(org-mode): add a new file to the agenda: habits.org
Change-Id: I926607d5541dfd0455685acb324dd2b56484dfc1
Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/615
Reviewed-by: Franck Cuny <franck@fcuny.net>
Tested-by: CI
-rw-r--r--emacs/custom/my-org.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/custom/my-org.el b/emacs/custom/my-org.el
index f338751..bd09819 100644
--- a/emacs/custom/my-org.el
+++ b/emacs/custom/my-org.el
@@ -74,6 +74,7 @@
 (setq org-agenda-files `(,(expand-file-name "inbox.org" org-directory)
                          ,(expand-file-name "notes.org" org-directory)
                          ,(expand-file-name "tasks.org" org-directory)
+                         ,(expand-file-name "habits.org" org-directory)
                          ,(expand-file-name "projects.org" org-directory)
                          ,(expand-file-name "bookmarks.org" org-directory)
                          ,(expand-file-name "journal.org" org-directory)))
@@ -117,9 +118,7 @@
 
   ("m" "email note" entry (file "inbox.org")
    ,(concat "* TODO [#A] %:subject :mail:\n"
-            ":PROPERTIES:\n"
-            ":CREATED: %T\n"
-            ":END:\n"
+            ":PROPERTIES:\n:CREATED: %T\n:END:\n"
             "%a\n%i%?"))
 
   ("j" "journal" entry