[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dict-tree 5f549f0 073/154: Bug-fixes to dictree--write-
From: |
Stefan Monnier |
Subject: |
[elpa] externals/dict-tree 5f549f0 073/154: Bug-fixes to dictree--write-meta-dict-code |
Date: |
Mon, 14 Dec 2020 12:21:47 -0500 (EST) |
branch: externals/dict-tree
commit 5f549f0fec0554c874ed2707aaa0a2a1c60e5225
Author: Toby Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Bug-fixes to dictree--write-meta-dict-code
---
dict-tree.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dict-tree.el b/dict-tree.el
index ba1cf44..e17eac1 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -2885,12 +2885,12 @@ is the prefix argument."
(setq hashcode
(concat
hashcode
- "(let ((lookup-cache (make-hash-table :test 'equal)))\n"
+ "(let ((cache (make-hash-table :test 'equal)))\n"
" (mapc (lambda (entry)\n"
- " (puthash (car entry) (cdr entry) lookup-cache))\n"
+ " (puthash (car entry) (cdr entry) cache))\n"
" (dictree--meta-dict-lookup-cache " dictname "))\n"
" (setf (dictree--meta-dict-lookup-cache " dictname ")\n"
- " lookup-cache))\n")))
+ " cache))\n")))
;; convert query caches, if they exist
(dolist (cache-details
@@ -2921,7 +2921,7 @@ is the prefix argument."
hashcode
"(let ((cache (make-hash-table :test 'equal)))\n"
" (mapc (lambda (entry)\n"
- " (puthash (car entry) (cdr entry) complete-cache))\n"
+ " (puthash (car entry) (cdr entry) cache))\n"
" (" (symbol-name (nth 2 cache-details)) " "
dictname "))\n"
" (setf (" (symbol-name (nth 2 cache-details)) " "
@@ -2967,10 +2967,10 @@ is the prefix argument."
"(require 'dict-tree)\n")
(mapc
(lambda (dic)
- (insert "(unless (dictree-load " (dictree-filename dic) ")\n"
+ (insert "(unless (dictree-load \"" (dictree-filename dic) "\")\n"
" (error \"Failed to load dictionary \\\""
(dictree-name dic) "\\\" required by meta-dict \\\""
- dictname "\n"))
+ dictname "\\\"\"))\n"))
(dictree--meta-dict-dictlist dict))
(insert "(defvar " dictname " nil \"Dictionary " dictname ".\")\n"
"(setq " dictname " '" (prin1-to-string tmpdict) ")\n"
- [elpa] externals/dict-tree 4a77581 046/154: Tidied up dictree--query and related code, (continued)
- [elpa] externals/dict-tree 4a77581 046/154: Tidied up dictree--query and related code, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree eccfe92 047/154: Bug fix in dictree--do-query, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree f6e9ba1 054/154: Added optional RESULTFUN argument to trie query functions,, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a07802a 057/154: Bug-fix to dictree-load, which was screwing around with dictree-file data, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree f4aa81c 059/154: Disable caching for unnamed meta-dicts, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree b6175f6 058/154: Bug-fix to meta-dicts: don't add them to meta-dict-lists of constituent lists if caching is disabled,, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree d31ddac 065/154: Bug-fixes to meta-dictionary handling, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree c553822 066/154: Small bug-fix in dictree--do-query, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 15ca12e 069/154: Re-filled to 72 chars/line, for mailing to gnu-emacs-sources list, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree dca8bcd 070/154: Advised edebug-prin1 and edebug-prin1-to-string to prevent edebug hanging, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 5f549f0 073/154: Bug-fixes to dictree--write-meta-dict-code,
Stefan Monnier <=
- [elpa] externals/dict-tree 0ef5b58 078/154: Revert "Replaced advice with cedet-edebug.el for pretty-printing", Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree df22e8e 074/154: Bug-fixes to edebug advice, Stefan Monnier, 2020/12/14
- [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