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

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

[elpa] externals/heap c71bf79 27/31: Implement trie-fuzzy-match and trie


From: Stefan Monnier
Subject: [elpa] externals/heap c71bf79 27/31: Implement trie-fuzzy-match and trie-fuzzy-complete functions.
Date: Mon, 14 Dec 2020 12:13:38 -0500 (EST)

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

    Implement trie-fuzzy-match and trie-fuzzy-complete functions.
    
    Searches a trie for matches or completions within a given Lewenstein 
distance
    of a string.
---
 heap.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/heap.el b/heap.el
index 863a2be..b522aa7 100644
--- a/heap.el
+++ b/heap.el
@@ -292,9 +292,9 @@ of the first HEAP argument.
 
 \(Note that in this heap implementation, the merge operation is
 not very efficient, taking O(n) time for combined heap size n\)."
-  (setq heaps (mapcar 'heap--vect heaps))
+  (setq heaps (mapcar #'heap--vect heaps))
   (heap-build (heap--cmpfun heap)
-             (apply 'vconcat (heap--vect heap) heaps)
+             (apply #'vconcat (heap--vect heap) heaps)
              (heap--resize heap)))
 
 



reply via email to

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