diff options
Diffstat (limited to 'helm-bookmark.el')
-rw-r--r-- | helm-bookmark.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helm-bookmark.el b/helm-bookmark.el index 62e02f60..0b690e71 100644 --- a/helm-bookmark.el +++ b/helm-bookmark.el @@ -592,6 +592,11 @@ than `w3m-browse-url' use it." (defvar helm-source-addressbook-set (helm-build-dummy-source "Addressbook add contact" + :filtered-candidate-transformer + (lambda (_candidates _source) + (list (or (and (not (string= helm-pattern "")) + helm-pattern) + "Enter a contact name to record"))) :action (lambda (candidate) (addressbook-bookmark-set-1 candidate)))) |