diff options
| author | Glenn Morris | 2011-11-13 18:01:00 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-11-13 18:01:00 -0800 |
| commit | d3cfca60276d7d1e29cb2ee5e7729141b86b2fb5 (patch) | |
| tree | a217fa0ff13f01ab44091e1a95908b8aa9557883 /lisp | |
| parent | 71e027ac2d510f3616fe8d0572376c2d7f91c2f8 (diff) | |
| download | emacs-d3cfca60276d7d1e29cb2ee5e7729141b86b2fb5.tar.gz emacs-d3cfca60276d7d1e29cb2ee5e7729141b86b2fb5.zip | |
* lisp/mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 676c0c6b180..ea27df043f0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-11-14 Glenn Morris <rgm@gnu.org> | 1 | 2011-11-14 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator. | ||
| 4 | |||
| 3 | * mail/rmailsum.el (rmail-summary, rmail-new-summary) | 5 | * mail/rmailsum.el (rmail-summary, rmail-new-summary) |
| 4 | (rmail-new-summary-1): Allow empty summaries. (Bug#9964) | 6 | (rmail-new-summary-1): Allow empty summaries. (Bug#9964) |
| 5 | (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local. | 7 | (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local. |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 4b3441a8cdc..76c9b87f881 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -2602,6 +2602,8 @@ Ask the user whether to add that list name to `mail-mailing-lists'." | |||
| 2602 | "Return nil if there is mail, else \"No mail.\"." | 2602 | "Return nil if there is mail, else \"No mail.\"." |
| 2603 | (if (zerop rmail-total-messages) | 2603 | (if (zerop rmail-total-messages) |
| 2604 | (save-excursion | 2604 | (save-excursion |
| 2605 | ;; Eg we deleted all the messages, so remove the old N/M mark. | ||
| 2606 | (with-current-buffer rmail-buffer (setq mode-line-process nil)) | ||
| 2605 | (with-current-buffer rmail-view-buffer | 2607 | (with-current-buffer rmail-view-buffer |
| 2606 | (erase-buffer) | 2608 | (erase-buffer) |
| 2607 | "No mail.")))) | 2609 | "No mail.")))) |