summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-11-17 21:06:55 -0500
committerKyle Meyer <kyle@kyleam.com>2016-11-17 21:06:55 -0500
commit69c5943091828464c5d4e10401add53bfa44b6b6 (patch)
treee6749db18731a518100f52cea4c0369e67228279 /init.el
parent55cfcd9540878bd6fd387509a79916e2b14bb8e8 (diff)
downloademacs.d-69c5943091828464c5d4e10401add53bfa44b6b6.tar.gz
Load org-contacts and org-agenda after org-capture
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 8 insertions, 7 deletions
diff --git a/init.el b/init.el
index 0d12c4d..958263a 100644
--- a/init.el
+++ b/init.el
@@ -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