emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm 51b28e8c5b 2/5: Update fuzzy-match slot docstring


From: ELPA Syncer
Subject: [nongnu] elpa/helm 51b28e8c5b 2/5: Update fuzzy-match slot docstring
Date: Sun, 13 Nov 2022 13:59:04 -0500 (EST)

branch: elpa/helm
commit 51b28e8c5ba63aa891d5d05aca08ac2688701971
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Update fuzzy-match slot docstring
---
 helm-source.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/helm-source.el b/helm-source.el
index f97bff1fea..5b7dcc8e6f 100644
--- a/helm-source.el
+++ b/helm-source.el
@@ -498,9 +498,14 @@
     "  Enable fuzzy matching in this source.
   This will overwrite settings in MATCH slot, and for
   sources built with child class `helm-source-in-buffer' the SEARCH slot.
+  This also add a `filtered-candidate-transformer' function to sort candidates
+  (see `helm-fuzzy-sort-fn') according to the score of each candidate which is
+  computed with `helm-fuzzy-default-score-fn'. 
   This is an easy way of enabling fuzzy matching, but you can use the MATCH
   or SEARCH slots yourself if you want something more elaborated, mixing
-  different type of match (See `helm-source-buffers' class for example).
+  different type of match (See `helm-source-buffers' class for example), you
+  will have in this case to provide as well a sort fn
+  in `filtered-candidate-transformer' yourself.
 
   This attribute is not supported for asynchronous sources
   since they perform pattern matching themselves.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]