]> git.eshelyaron.com Git - emacs.git/commitdiff
registry.el (registry-reindex): Fix percentage message.
authorTeodor Zlatanov <tzz@lifelogs.com>
Wed, 4 May 2011 11:28:46 +0000 (11:28 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 4 May 2011 11:28:46 +0000 (11:28 +0000)
lisp/gnus/ChangeLog
lisp/gnus/registry.el

index a6d857ed660d782b4561906a22089ac79fd9995f..49128552e00f758b93f825773fd3ec2e290cfc5d 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * registry.el (registry-reindex): Fix percentage message.
+
 2011-05-03  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * shr.el: Add shr-link face for links.
index e82ca8d9b6f71cafebd2273866e2b8d8b1934520..51bfc9cde5792e3f070c7667066e2a4d8f3fb198 100644 (file)
@@ -298,7 +298,7 @@ Errors out if the key exists already."
             (when (and (< 0 expected)
                        (= 0 (mod count 1000)))
               (message "reindexing: %d of %d (%.2f%%)"
-                       count expected (/ (* 1000 count) expected)))
+                       count expected (/ (* 100 count) expected)))
             (dolist (val (cdr-safe (assq tr v)))
               (let* ((value-keys (registry-lookup-secondary-value db tr val)))
                 (push key value-keys)