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

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

[elpa] externals/dict-tree eec26c3 132/154: Fix trie--construct-Lewenste


From: Stefan Monnier
Subject: [elpa] externals/dict-tree eec26c3 132/154: Fix trie--construct-Lewenstein-rankfun to new versions.
Date: Mon, 14 Dec 2020 12:22:00 -0500 (EST)

branch: externals/dict-tree
commit eec26c30a43230f2cc794b9b7107688d1deb7708
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>

    Fix trie--construct-Lewenstein-rankfun to new versions.
---
 dict-tree.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dict-tree.el b/dict-tree.el
index 08a0f13..faa0970 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -1465,7 +1465,7 @@ PREFIX is a prefix of STR."
                          (dictree-rank-function dict)))
                        ((eq rank-function 'distance)
                         (dictree--wrap-fuzzy-rankfun
-                         (trie--construct-Lewenstein-rankfun
+                         (trie--construct-fuzzy-match-rankfun
                           (dictree-comparison-function dict))))
                        (rank-function
                         (dictree--wrap-fuzzy-rankfun rank-function)))))
@@ -1543,7 +1543,7 @@ PREFIX is a prefix of STR."
                          (dictree-rank-function dict)))
                        ((eq rank-function 'distance)
                         (dictree--wrap-fuzzy-rankfun
-                         (trie--construct-Lewenstein-rankfun
+                         (trie--construct-fuzzy-complete-rankfun
                           (dictree-comparison-function dict))))
                        (rank-function
                         (dictree--wrap-fuzzy-rankfun rank-function)))))



reply via email to

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