branch: scratch/org-contacts-rebased
commit 8ccb82f639166a781a687e05c23f16fbf40a4dcf
Author: Feng Shu <[email protected]>
Commit: Bastien Guerry <[email protected]>
org-contacts.el , fix bugs about 'tel and 'note properties
* contrib/lisp/org-contacts.el (org-contacts-vcard-format): Fix bug by
taking the "tel" and "note" properties into account.
---
org-contacts.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/org-contacts.el b/org-contacts.el
index f529014..65eeea8 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -834,6 +834,8 @@ to do our best."
(name (org-contacts-vcard-escape (car contact)))
(n (org-contacts-vcard-encode-name name))
(email (cdr (assoc-string org-contacts-email-property properties)))
+ (tel (cdr (assoc-string org-contacts-tel-property properties)))
+ (note (cdr (assoc-string org-contacts-note-property properties)))
(bday (org-contacts-vcard-escape (cdr (assoc-string
org-contacts-birthday-property properties))))
(addr (cdr (assoc-string org-contacts-address-property properties)))
(nick (org-contacts-vcard-escape (cdr (assoc-string
org-contacts-nickname-property properties))))