From: Teodor Zlatanov Date: Wed, 4 May 2011 11:28:46 +0000 (+0000) Subject: registry.el (registry-reindex): Fix percentage message. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~121 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67a2aecd40f802838d97f2aeb81f0a3698c68f62;p=emacs.git registry.el (registry-reindex): Fix percentage message. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a6d857ed660..49128552e00 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2011-05-04 Teodor Zlatanov + + * registry.el (registry-reindex): Fix percentage message. + 2011-05-03 Teodor Zlatanov * shr.el: Add shr-link face for links. diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el index e82ca8d9b6f..51bfc9cde57 100644 --- a/lisp/gnus/registry.el +++ b/lisp/gnus/registry.el @@ -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)