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

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

[elpa] externals/dict-tree 179c0b5 045/154: Bug-fix to messages displaye


From: Stefan Monnier
Subject: [elpa] externals/dict-tree 179c0b5 045/154: Bug-fix to messages displayed by dictree-populate-from-file
Date: Mon, 14 Dec 2020 12:21:41 -0500 (EST)

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

    Bug-fix to messages displayed by dictree-populate-from-file
---
 dict-tree.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dict-tree.el b/dict-tree.el
index 2b17911..f4cd83a 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -2722,7 +2722,9 @@ are created when using a trie that is not self-balancing, 
see
               (nth 2 entry)))
            (when (= 49 (mod i 50))
              (message "Inserting keys in %s...(%d of %d)"
-                      (dictree-name dict) (+ (* 2 i) 2) lines))
+                      (dictree-name dict)
+                      (if balance (+ (* 2 i) 2) i)
+                      lines))
            (when balance
              (dictree--goto-line (- midpt i 1))
              (when (setq entry



reply via email to

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