summaryrefslogtreecommitdiff
path: root/lisp/init-orgcontacts.el
blob: 548c146cc77de0ca568530659ccb70fe6c94de74 (plain)
1
2
3
4
5
6
7
8
9
(require 'org-contacts)

(setq org-contacts-files '("~/notes/contacts.org"))

(add-to-list 'org-capture-templates
             '("a" "email address" entry (file+headline "~/notes/contacts.org" "Inbox")
               "** %(org-contacts-template-name)\n   :PROPERTIES:\n   :EMAIL: %(org-contacts-template-email)\n   :END:"))

(provide 'init-orgcontacts)