diff options
-rw-r--r-- | init.el | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1080,18 +1080,19 @@ | |||
1080 | (defun mm/org-agenda-update-agenda-files () | 1080 | (defun mm/org-agenda-update-agenda-files () |
1081 | "Update the list of `org-agenda-files'." | 1081 | "Update the list of `org-agenda-files'." |
1082 | (interactive) | 1082 | (interactive) |
1083 | (org-agenda-files (append '("~/kb/agenda.org" | 1083 | (setq org-agenda-files (append '("~/kb/agenda.org" |
1084 | "~/kb/self.routine.org" | 1084 | "~/kb/self.routine.org" |
1085 | "~/kb/inbox.org" | 1085 | "~/kb/inbox.org" |
1086 | "~/kb/shop.org") | 1086 | "~/kb/shop.org") |
1087 | (file-expand-wildcards "~/kb/*log.org*") | 1087 | (file-expand-wildcards "~/kb/*log.org*") |
1088 | (file-expand-wildcards "~/kb/*agenda.org*")))) | 1088 | (file-expand-wildcards "~/kb/*agenda.org*")))) |
1089 | 1089 | ||
1090 | (use-package org | 1090 | (use-package org |
1091 | :delight | 1091 | :delight |
1092 | :config | 1092 | :config |
1093 | (mm/org-agenda-update-agenda-files) | 1093 | (mm/org-agenda-update-agenda-files) |
1094 | (setq org-todo-keywords | 1094 | (setq org-agenda-start-with-log-mode t |
1095 | org-todo-keywords | ||
1095 | '((sequence "TODO(t)" "SOMEDAY(s)" "SOON(o)" "NEXT(n)" | 1096 | '((sequence "TODO(t)" "SOMEDAY(s)" "SOON(o)" "NEXT(n)" |
1096 | "IN-PROGRESS(i)" "WAITING(w)" "HOLD(h)" "REVIEW(r)" | 1097 | "IN-PROGRESS(i)" "WAITING(w)" "HOLD(h)" "REVIEW(r)" |
1097 | "|" "DONE(d)" "CANCELED(c)") | 1098 | "|" "DONE(d)" "CANCELED(c)") |