Permalink
Browse files

* helm-bookmark.el (helm-pp-bookmark-match-fn): Match against name+loc.

  • Loading branch information...
1 parent 52be246 commit 698005a34c3e1492bae3e8678be81e24eb768871 @thierryvolpiatto thierryvolpiatto committed Apr 5, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 helm-bookmark.el
View
@@ -169,7 +169,9 @@ Should be used with `helm-pp-bookmark-match-fn' as `match-part' function."
Should be used with `helm-bookmark-search-fn' as `search' function."
(helm-aif (and helm-bookmark-show-location
(bookmark-location candidate))
- it ; match only location, match-plugin will match also name.
+ ;; Match against bookmark-name and location.
+ (concat candidate " " it)
+ ;; Match against bookmark-name.
candidate))
(defun helm-highlight-bookmark (bookmarks source)

0 comments on commit 698005a

Please sign in to comment.