From 8a246a05008ae43df6c2a2c1bb8e032eab148302 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 26 May 2013 13:00:16 -0400 Subject: add org contacts --- init/10-km-pkg.el | 2 ++ init/km-orgcontacts.el | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 init/km-orgcontacts.el (limited to 'init') diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el index 4489552..ef0bcb6 100644 --- a/init/10-km-pkg.el +++ b/init/10-km-pkg.el @@ -34,3 +34,5 @@ (when (not (package-installed-p pkg)) (message "installing %s" pkg) (package-install pkg)))) + +(add-to-list 'load-path "~/.emacs.d/vendor/") diff --git a/init/km-orgcontacts.el b/init/km-orgcontacts.el new file mode 100644 index 0000000..b75ddb5 --- /dev/null +++ b/init/km-orgcontacts.el @@ -0,0 +1,7 @@ +(require 'org-contacts) + +(setq org-contacts-files '("~/notes/contacts.org")) + +(add-to-list 'org-capture-templates + '("a" "email address" entry (file "~/notes/contacts.org") + "** %(org-contacts-template-name)\n :PROPERTIES:\n :EMAIL: %(org-contacts-template-email)\n :END:")) -- cgit v1.2.3