summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-05-26 13:00:16 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-06-17 13:07:06 -0400
commit8a246a05008ae43df6c2a2c1bb8e032eab148302 (patch)
treee8ea25421f74bf6134227915b61f03a98e991cfa
parentd9f2f1b81d9d54a6629876043000a3d8f8d2cac4 (diff)
downloademacs.d-8a246a05008ae43df6c2a2c1bb8e032eab148302.tar.gz
add org contacts
-rw-r--r--.gitignore1
-rw-r--r--init/10-km-pkg.el2
-rw-r--r--init/km-orgcontacts.el7
3 files changed, 10 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ef1094e..8c6366c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ auto-save-list
cache
elpa
bookmarks
+vendor
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:"))