2011-11-14 Glenn Morris <rgm@gnu.org>
+ * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
+
* mail/rmailsum.el (rmail-summary, rmail-new-summary)
(rmail-new-summary-1): Allow empty summaries. (Bug#9964)
(rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
"Return nil if there is mail, else \"No mail.\"."
(if (zerop rmail-total-messages)
(save-excursion
+ ;; Eg we deleted all the messages, so remove the old N/M mark.
+ (with-current-buffer rmail-buffer (setq mode-line-process nil))
(with-current-buffer rmail-view-buffer
(erase-buffer)
"No mail."))))