diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-11-23 13:09:24 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-11-23 13:09:24 +0100 |
commit | 0941293fb7129c83f04c584474ad1d85a6595ba3 (patch) | |
tree | 50e6cbd60dbfcdce63d4b557f5e4fd473927cff3 /helm-bookmark.el | |
parent | e5308b8605f3ed4495510e8d106559b5d8e5d4b8 (diff) |
Add a command for addressbook bookmarks only.
* helm-bookmark.el (helm-addressbook-bookmarks): New.
Diffstat (limited to 'helm-bookmark.el')
-rw-r--r-- | helm-bookmark.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/helm-bookmark.el b/helm-bookmark.el index 272b0c54..8a24c3d2 100644 --- a/helm-bookmark.el +++ b/helm-bookmark.el @@ -771,7 +771,7 @@ e.g prepended with *." (defun helm-filtered-bookmarks () "Preconfigured helm for bookmarks (filtered by category). Optional source `helm-source-bookmark-addressbook' is loaded -only if external library addressbook-bookmark.el is available." +only if external addressbook-bookmark package is installed." (interactive) (helm :sources helm-bookmark-default-filtered-sources :prompt "Search Bookmark: " @@ -779,6 +779,17 @@ only if external library addressbook-bookmark.el is available." :default (list (thing-at-point 'symbol) (buffer-name helm-current-buffer)))) +;;;###autoload +(defun helm-addressbook-bookmarks () + "Preconfigured helm for addressbook bookmarks. +Need addressbook-bookmark package as dependencie." + (interactive) + (helm :sources 'helm-source-bookmark-addressbook + :prompt "Search Contact: " + :buffer "*helm addressbook*" + :default (list (thing-at-point 'symbol) + (buffer-name helm-current-buffer)))) + (provide 'helm-bookmark) ;; Local Variables: |