From aaf9ce8bd011c9e87a3cf1dd667351623a67078d Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 18 Nov 2021 15:09:58 +0800 Subject: [PATCH] Add capf completion properties --- org-contacts.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org-contacts.el b/org-contacts.el index 7a4faaf..2103923 100644 --- a/org-contacts.el +++ b/org-contacts.el @@ -691,10 +691,10 @@ Usage: (add-hook 'completion-at-point-functions 'org-contacts-org-complete-funct (lambda (contact) (concat "@" (plist-get contact :name))) (org-contacts--all-contacts)))) - ;; :predicate 'stringp - ;; :exclusive 'no + :predicate 'stringp + :exclusive 'no ;; properties check out `completion-extra-properties' - ;; :annotation-function #'org-contacts-org-complete--annotation-function + :annotation-function #'org-contacts-org-complete--annotation-function ;; :exit-function ; TODO change completion candidate inserted contact name into org-contact link?? ;; :company-docsig #'identity ; metadata