emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106364: * lisp/mail/rmail.el (rmail-


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106364: * lisp/mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
Date: Sun, 13 Nov 2011 18:01:00 -0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106364
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sun 2011-11-13 18:01:00 -0800
message:
  * lisp/mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
modified:
  lisp/ChangeLog
  lisp/mail/rmail.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-11-14 01:43:50 +0000
+++ b/lisp/ChangeLog    2011-11-14 02:01:00 +0000
@@ -1,5 +1,7 @@
 2011-11-14  Glenn Morris  <address@hidden>
 
+       * 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.

=== modified file 'lisp/mail/rmail.el'
--- a/lisp/mail/rmail.el        2011-11-07 02:52:29 +0000
+++ b/lisp/mail/rmail.el        2011-11-14 02:01:00 +0000
@@ -2602,6 +2602,8 @@
   "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."))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]