summaryrefslogtreecommitdiff
path: root/helm-bookmark.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-01-14 13:31:13 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-01-14 13:31:13 +0100
commit7b8d7c54749ac50da395db4ffaaedc3dad764241 (patch)
tree13b2a097695090d40579b7f9f9963fd65db7c50e /helm-bookmark.el
parentbbb7eae2426769a3090e966fb86d442c9e5dae29 (diff)
Remove match-part fn in helm-bookmark (#1334).
* helm-bookmark.el (helm-source-filtered-bookmarks): Do it. (helm-bookmark-addressbook-class): Do it. (helm-bookmark-match-part-fn): Removed.
Diffstat (limited to 'helm-bookmark.el')
-rw-r--r--helm-bookmark.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/helm-bookmark.el b/helm-bookmark.el
index f74f5743..06e92893 100644
--- a/helm-bookmark.el
+++ b/helm-bookmark.el
@@ -247,15 +247,6 @@
(goto-char it))
(re-search-forward pattern nil t)))
-(defun helm-bookmark-match-part-fn (candidate)
- "Match part function for bookmark sources using `helm-source-in-buffer'."
- (helm-aif (and helm-bookmark-show-location
- (bookmark-location candidate))
- ;; Match against bookmark-name and location.
- (concat candidate " " it)
- ;; Match against bookmark-name.
- candidate))
-
;;; Predicates
;;
@@ -389,7 +380,6 @@ than `w3m-browse-url' use it."
;;
(defclass helm-source-filtered-bookmarks (helm-source-in-buffer helm-type-bookmark)
((search :initform #'helm-bookmark-search-fn)
- (match-part :initform #'helm-bookmark-match-part-fn)
(filtered-candidate-transformer
:initform '(helm-adaptive-sort
helm-highlight-bookmark))))
@@ -511,7 +501,6 @@ than `w3m-browse-url' use it."
'global
(helm-bookmark-addressbook-setup-alist))))
(search :initform #'helm-bookmark-search-fn)
- (match-part :initform #'helm-bookmark-match-part-fn)
(persistent-action :initform
(lambda (candidate)
(let ((bmk (helm-bookmark-get-bookmark-from-name