changeset 102841:3ba455e0b28d

(rmail-new-summary-1): Don't show zero count of summary lines.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 04 Apr 2009 14:21:49 +0000
parents c809565ddbb8
children 2900baf6d4d4
files lisp/mail/rmailsum.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el	Sat Apr 04 11:32:49 2009 +0000
+++ b/lisp/mail/rmailsum.el	Sat Apr 04 14:21:49 2009 +0000
@@ -291,7 +291,8 @@
 				    summary-msgs))))
 		  (setq msgnum (1+ msgnum))
 		  ;; Provide a periodic User progress message.
-		  (if (zerop (% rmail-new-summary-line-count 10))
+		  (if (and (not (zerop rmail-new-summary-line-count))
+			   (zerop (% rmail-new-summary-line-count 10)))
 		      (message "Computing summary lines...%d"
 			       rmail-new-summary-line-count)))
 		(setq summary-msgs (nreverse summary-msgs)))