branch: externals/dict-tree commit eec26c30a43230f2cc794b9b7107688d1deb7708 Author: Toby S. Cubitt <toby-predict...@dr-qubit.org> Commit: Toby S. Cubitt <toby-predict...@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)))))