diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-11-17 21:06:55 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-11-17 21:06:55 -0500 |
commit | 69c5943091828464c5d4e10401add53bfa44b6b6 (patch) | |
tree | e6749db18731a518100f52cea4c0369e67228279 | |
parent | 55cfcd9540878bd6fd387509a79916e2b14bb8e8 (diff) | |
download | emacs.d-69c5943091828464c5d4e10401add53bfa44b6b6.tar.gz |
Load org-contacts and org-agenda after org-capture
-rw-r--r-- | init.el | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -239,6 +239,7 @@ (use-package org-agenda :defer t + :after org-capture :init (define-key km/global-org-map "a" #'org-agenda) :config (setq org-agenda-restore-windows-after-quit t @@ -278,18 +279,18 @@ (use-package org-contacts :defer t - :after org + :after org-capture :init (setq org-contacts-files '("~/notes/contacts.org")) - (after 'org-capture - (add-to-list 'org-capture-templates - '("a" "email address" entry - (file+headline "~/notes/contacts.org" "Inbox") - " + :config + (add-to-list 'org-capture-templates + '("a" "email address" entry + (file+headline "~/notes/contacts.org" "Inbox") + " ** %(org-contacts-template-name) :PROPERTIES: :EMAIL: %(org-contacts-template-email) -:END:")))) +:END:"))) (use-package km-org :defer t |