From: Eli Zaretskii Date: Sat, 4 Apr 2009 14:22:59 +0000 (+0000) Subject: (rmail-new-summary-1): Don't show zero count of summary lines. X-Git-Tag: emacs-pretest-23.0.93~235 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=435f0dd2f5b673f238f75f04d835f72fa5be8cfa;p=emacs.git (rmail-new-summary-1): Don't show zero count of summary lines. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f02ca12b5e6..7bd468c2752 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-04-04 Eli Zaretskii + + * mail/rmailsum.el (rmail-new-summary-1): Don't show zero count of + summary lines. + 2009-04-02 Chong Yidong * dired.el (dired-get-filename): Always pass filename through diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 3c9d3e54709..c35e4856f9c 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -291,7 +291,8 @@ message." 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)))