summaryrefslogtreecommitdiff
path: root/lisp/init-orgcontacts.el
blob: a78b9bfca8cb300f1b8b9b9d9e65eb23a7eab37c (plain)
1
2
3
4
5
6
7
8
9
10
(add-to-list 'load-path "~/src/emacs/org-mode/contrib/lisp" t)
(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)