[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dict-tree 608fcd4 049/154: Bug-fix to dictree--write-di
From: |
Stefan Monnier |
Subject: |
[elpa] externals/dict-tree 608fcd4 049/154: Bug-fix to dictree--write-dict-code |
Date: |
Mon, 14 Dec 2020 12:21:42 -0500 (EST) |
branch: externals/dict-tree
commit 608fcd4d40984fcc43ab6cdba2453577017de28a
Author: Toby Cubitt <toby-predictive@dr-qubit.org>
Commit: tsc25 <toby-predictive@dr-qubit.org>
Bug-fix to dictree--write-dict-code
---
dict-tree.el | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/dict-tree.el b/dict-tree.el
index 904ef25..8e597ee 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -1177,8 +1177,8 @@ TEST returns non-nil."
(cond
;; if updating dirty cache entries...
((eq (dictree-cache-update-policy dict) 'synchronize)
- (dictree--synchronize-query-cache dict cache cache-entry
- arg reverse key newdata
deleted))
+ (dictree--synchronize-query-cache
+ dict cache cache-entry arg reverse key newdata deleted))
;; if deleting dirty cache entries...
(t (remhash (cons arg reverse) cache)))))))
@@ -1977,6 +1977,7 @@ Returns nil if the stack is empty."
))
+
(defun dictree--do-query (dict arg triefun stackfun
&optional
rank-function maxnum reverse filter)
@@ -2525,7 +2526,7 @@ is the prefix argument."
" cache))\n"
" (" (symbol-name (nth 2 cache-details)) " " dictname "))\n"
" (setf (" (symbol-name (nth 2 cache-details)) " " dictname ")\n"
- " lookup-cache))\n"
+ " cache))\n"
))
))
@@ -2637,8 +2638,8 @@ is the prefix argument."
" (mapc (lambda (entry)\n"
" (puthash (car entry) (cdr entry) lookup-cache))\n"
" (dictree--meta-dict-lookup-cache " dictname "))\n"
- " (setf (dictree--meta-dict-lookup-cache " dictname ")"
- " lookup-cache))\n")))
+ " (setf (dictree--meta-dict-lookup-cache " dictname ")\n"
+ " lookup-cache))\n")))
;; convert query caches, if they exist
(dolist (cache-details
@@ -2671,8 +2672,8 @@ is the prefix argument."
" (mapc (lambda (entry)\n"
" (puthash (car entry) (cdr entry) complete-cache))\n"
" (" (symbol-name (nth 2 cache-details)) " " dictname "))\n"
- " (setf (" (symbol-name (nth 2 cache-details)) " " dictname ")"
- " cache))\n"))))
+ " (setf (" (symbol-name (nth 2 cache-details)) " " dictname ")\n"
+ " cache))\n"))))
;; --- write to file ---
- [elpa] externals/dict-tree 26f5dd3 011/154: Work around byte-compilation and goto-line bugs., (continued)
- [elpa] externals/dict-tree 26f5dd3 011/154: Work around byte-compilation and goto-line bugs., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 7562023 012/154: Make use of :family attribute of completion-tooltip-face., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree f9bf379 013/154: Complete re-write of dict-tree.el, based on new trie.el., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 329110b 018/154: Fixed bug in unranked dictree-complete., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree baa4931 028/154: Doesn't quite work - revert to breaking setf abstraction, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 5834dac 036/154: Replaced bare avl-trees, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 673fd2a 029/154: Abstract away the setcar used to set the data component of a cell, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 2700e21 035/154: Don't compile wrapped functions explicitly, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 70f99ee 037/154: Make certain dictionary commands (mostly saving and loading) interactive again., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 35346a4 041/154: Bug-fix in dictree--write-dict-code, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 608fcd4 049/154: Bug-fix to dictree--write-dict-code,
Stefan Monnier <=
- [elpa] externals/dict-tree 179c0b5 045/154: Bug-fix to messages displayed by dictree-populate-from-file, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 6b24547 052/154: Allow "]" to be included in a negated character alternatives, by placing immediately after the "[^"., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a61f90e 053/154: Bug-fix in dictree-wildcard-search, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree b33203a 060/154: Manage loading and unloading of dictionaries automatically in predictive-mode, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 920d959 077/154: Replaced advice with cedet-edebug.el for pretty-printing, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 9946a1d 075/154: Dictionary now defaults to current dict in in most dictionary-related commands., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree aa1a45d 105/154: Enable lexical binding, and fix issues it picks up., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree ce48d61 104/154: Use symbol-value instead of eval., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 9eb7d29 014/154: Bumped version number and updated commentary., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 034a2d4 020/154: Fixed dictree-member-p bug; dictionaries no longer 'provide' feature., Stefan Monnier, 2020/12/14