[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dict-tree b7173e8 152/154: Fix lexical binding bugs.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/dict-tree b7173e8 152/154: Fix lexical binding bugs. |
Date: |
Mon, 14 Dec 2020 12:22:05 -0500 (EST) |
branch: externals/dict-tree
commit b7173e80475693a4124cd5668a8e0641ec5745a3
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Fix lexical binding bugs.
---
dict-tree.el | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/dict-tree.el b/dict-tree.el
index 2a6793f..e181665 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -1313,29 +1313,29 @@ Otherwise, return nil."
;; synchronize query caches if something's actually changed
(when (or deleted (not (equal olddata newdata)))
(dolist (cachefuns
- '((dictree-complete-cache
+ `((dictree-complete-cache
dictree--synchronize-completion-cache
dictree--prefix-p)
(dictree-regexp-cache
dictree--synchronize-regexp-cache
- (lambda (regexp key)
- (tNFA-regexp-match
- regexp key :test (trie--construct-equality-function
- (dictree--comparison-function dict)))))
+ ,(lambda (regexp key)
+ (tNFA-regexp-match
+ regexp key :test (trie--construct-equality-function
+ (dictree--comparison-function dict)))))
(dictree-fuzzy-match-cache
dictree--synchronize-fuzzy-match-cache
- (lambda (string dist key)
- (if (consp dist)
- (<= (Lewenstein-distance (substring string (car dist))
key)
- (cdr dist))
- (<= (Lewenstein-distance string key) dist))))
+ ,(lambda (string dist key)
+ (if (consp dist)
+ (<= (Lewenstein-distance (substring string (car dist))
key)
+ (cdr dist))
+ (<= (Lewenstein-distance string key) dist))))
(dictree-fuzzy-complete-cache
dictree--synchronize-fuzzy-complete-cache
- (lambda (prefix dist key)
- (if (consp dist)
- (<= (Lewenstein-distance (substring prefix (car dist))
key)
- (cdr dist))
- (<= (Lewenstein-distance prefix key) dist))))
+ ,(lambda (prefix dist key)
+ (if (consp dist)
+ (<= (Lewenstein-distance (substring prefix (car dist))
key)
+ (cdr dist))
+ (<= (Lewenstein-distance prefix key) dist))))
))
(when (funcall (nth 0 cachefuns) dict)
(maphash
- [elpa] externals/dict-tree 3794988 079/154: Simplified advice-based edebug pretty-printing of tries and dictionaries., (continued)
- [elpa] externals/dict-tree 3794988 079/154: Simplified advice-based edebug pretty-printing of tries and dictionaries., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 238fd6b 082/154: Fixed bug in dictree--merge that caused one too many completions to be cached., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a256974 086/154: Minor typo-fixes in docstrings., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree d6ea2b5 088/154: Fixed interactive argument handling in predictive-fast-learn-from-buffer., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 39ace6f 094/154: Added autoload cookies., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a1bff31 096/154: Trivial whitespace tidying., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree e752b53 101/154: Accept symbols for dictionary arguments., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 8aa6047 106/154: Suppress bogus unused lexical variable byte-compiler warnings., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 4b3cc3c 122/154: Do lexbind test at compile-time instead of load-time., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a4b2a1b 126/154: Improve edebug pretty-printing., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree b7173e8 152/154: Fix lexical binding bugs.,
Stefan Monnier <=
- [elpa] externals/dict-tree 3a4d3f1 015/154: Added dictree-mapcar function; code tidying., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 1dde6e1 030/154: Define missing setf methods for data cells, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 3969702 125/154: Tidy up unnecessary macros by making them into defsubst or defun., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 74c792c 111/154: Add page breaks., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 5cf96da 123/154: Implement iterator generators on collection data structures., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 913c84b 129/154: Fix bug in dictree-unload., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 1e5b3f6 130/154: Fix bug in dictree--wrap-fuzzy-rankfun wrapping., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 6544152 139/154: Fix bug causing dictree--do-query to fail to use cached results., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 9242ff7 154/154: * dict-tree/dict-tree.el: Fix typo in Package-Requires., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 1d096b1 141/154: Myriad bug fixes and code refactoring in new fuzzy and ngram completion., Stefan Monnier, 2020/12/14