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.
This commit is contained in:
Feng Shu 2013-06-03 07:35:09 +08:00 committed by Grégoire Jadi
parent fa4869123d
commit 9105e22251

View file

@ -25,7 +25,7 @@
;; This file contains the code for managing your contacts into Org-mode. ;; 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: ;; this:
;; ("c" "Contacts" entry (file "~/Org/contacts.org") ;; ("c" "Contacts" entry (file "~/Org/contacts.org")
@ -34,6 +34,22 @@
;; :EMAIL: %(org-contacts-template-email) ;; :EMAIL: %(org-contacts-template-email)
;; :END:"))) ;; :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: ;;; Code:
(eval-when-compile (eval-when-compile