summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Shu <tumashu@gmail.com>2013-06-03 07:35:09 +0800
committerGrégoire Jadi <gregoire.jadi@gmail.com>2013-06-04 00:35:28 +0200
commite3cc1ca792bdd4bf6345faf1c9da90182cf7c137 (patch)
tree6434878d6df4b84e159f65b32cff7b7c46d72363
parent3345817048fededa2fd2d3ba83a5c82238a150c6 (diff)
downloadorg-mode-e3cc1ca792bdd4bf6345faf1c9da90182cf7c137.tar.gz
contrib/lisp/org-contacts.el: Add a complex org-contacts template to the file header
* contrib/lisp/org-contacts.el: Add a complex org-contacts template to the file header, which can help users to know all the org-contacts properties quickly.
-rw-r--r--contrib/lisp/org-contacts.el18
1 files changed, 17 insertions, 1 deletions
diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el
index ffd17a1..5d63fcc 100644
--- a/contrib/lisp/org-contacts.el
+++ b/contrib/lisp/org-contacts.el
@@ -25,7 +25,7 @@
;; This file contains the code for managing your contacts into Org-mode.
-;; To enter new contacts, you can use `org-capture' and a template just like
+;; To enter new contacts, you can use `org-capture' and a minimal template just like
;; this:
;; ("c" "Contacts" entry (file "~/Org/contacts.org")
@@ -34,6 +34,22 @@
;; :EMAIL: %(org-contacts-template-email)
;; :END:")))
;;
+;; You can also use a complex template, for example:
+;;
+;; ("c" "Contacts" entry (file "~/Org/contacts.org")
+;; "* %(org-contacts-template-name)
+;; :PROPERTIES:
+;; :EMAIL: %(org-contacts-template-email)
+;; :PHONE:
+;; :ALIAS:
+;; :NICKNAME:
+;; :IGNORE:
+;; :ICON:
+;; :NOTE:
+;; :ADDRESS:
+;; :BIRTHDAY:
+;; :END:")))
+;;
;;; Code:
(eval-when-compile