[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm fddf8e32aa 2/3: Finally opt for a filtered-candidate-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm fddf8e32aa 2/3: Finally opt for a filtered-candidate-transformer in *locate-library |
Date: |
Sat, 16 Sep 2023 03:59:39 -0400 (EDT) |
branch: elpa/helm
commit fddf8e32aa4ff865f2ed725c3ab9e226837f5541
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@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