branch: elpa/helm
commit fddf8e32aa4ff865f2ed725c3ab9e226837f5541
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Finally opt for a filtered-candidate-transformer in *locate-library
    
    This speedup start for people not making variables persistent.
---
 helm-elisp.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helm-elisp.el b/helm-elisp.el
index 0ef6e215c1..a7bab929e6 100644
--- a/helm-elisp.el
+++ b/helm-elisp.el
@@ -931,8 +931,8 @@ some new libraries are found."
           :data #'helm-locate-library-scan-list
           :fuzzy-match helm-locate-library-fuzzy-match
           :keymap helm-generic-files-map
-          :candidate-transformer
-          (lambda (candidates)
+          :filtered-candidate-transformer
+          (lambda (candidates _source)
             (if (or completions-detailed helm-completions-detailed)
                 (cl-loop with lgst = (helm-in-buffer-get-longest-candidate)
                          for c in candidates

Reply via email to