branch: externals/org-contacts
commit 2cab2b2623b0cb0003c3853f008a8f5b79a68b33
Author: stardiviner <numbch...@gmail.com>
Commit: stardiviner <numbch...@gmail.com>

    add new property "NAME" into `org-contacts-matcher`
---
 org-contacts.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/org-contacts.el b/org-contacts.el
index 61a74f0126..c2c4051e66 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -139,6 +139,10 @@ The following replacements are available:
   "Name of the property for contact icon."
   :type 'string)
 
+(defcustom org-contacts-name-property "NAME"
+  "Name of the property for name match."
+  :type 'string)
+
 (defcustom org-contacts-nickname-property "NICKNAME"
   "Name of the property for nickname match."
   :type 'string)
@@ -167,6 +171,7 @@ The following replacements are available:
   (string-join
    (mapcar (lambda (x) (concat x "<>\"\""))
            (list org-contacts-icon-property
+                 org-contacts-name-property
                  org-contacts-nickname-property
                  org-contacts-alias-property
                  org-contacts-email-property

Reply via email to