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

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

[elpa] externals/dict-tree 35346a4 041/154: Bug-fix in dictree--write-di


From: Stefan Monnier
Subject: [elpa] externals/dict-tree 35346a4 041/154: Bug-fix in dictree--write-dict-code
Date: Mon, 14 Dec 2020 12:21:40 -0500 (EST)

branch: externals/dict-tree
commit 35346a4eba79b5529ba55adde9c48f352dc9ec98
Author: Toby Cubitt <toby-predictive@dr-qubit.org>
Commit: tsc25 <toby-predictive@dr-qubit.org>

    Bug-fix in dictree--write-dict-code
---
 dict-tree.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dict-tree.el b/dict-tree.el
index 3d40142..d0b3f7d 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -2505,8 +2505,8 @@ is the prefix argument."
            (insert "(setq " dictname " '" (prin1-to-string tmpdict) ")\n"))
        ;; if dictionary doesn't use any custom save functions, tmpdict's trie
        ;; is identical to original dict, so transform it back to usable form
-       (when (or (dictree--data-savefun dict)
-                 (dictree--plist-savefun dict))
+       (unless (or (dictree--data-savefun dict)
+                   (dictree--plist-savefun dict))
          (trie-transform-from-read (dictree--trie tmpdict))))
       (insert "(trie-transform-from-read (dictree--trie " dictname "))\n")
       (when hashcode (insert hashcode))



reply via email to

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