aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/mail/rmail.el10
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 77cc3a4b8bc..108cf01f152 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-03-22 Richard M Stallman <rms@gnu.org>
2
3 * mail/rmail.el (rmail-expunge): Update summary buffer even if NO-SHOW.
4
12009-03-21 Jari Aalto <jari.aalto@cante.net> 52009-03-21 Jari Aalto <jari.aalto@cante.net>
2 6
3 * time.el (display-time-default-load-average): Doc fix. 7 * time.el (display-time-default-load-average): Doc fix.
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index a5dc10cf4f1..f39f7bf4636 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -3265,9 +3265,15 @@ See also user-option `rmail-confirm-expunge'."
3265 (interactive) 3265 (interactive)
3266 (when (rmail-expunge-confirmed) 3266 (when (rmail-expunge-confirmed)
3267 (let ((was-deleted (rmail-message-deleted-p rmail-current-message)) 3267 (let ((was-deleted (rmail-message-deleted-p rmail-current-message))
3268 (was-swapped (rmail-buffers-swapped-p))) 3268 (was-swapped (rmail-buffers-swapped-p))
3269 (total rmail-total-messages))
3269 (rmail-only-expunge t) 3270 (rmail-only-expunge t)
3270 (unless dont-show 3271 (if dont-show
3272 ;; Do update the summary buffer, if any.
3273 (when (rmail-summary-exists)
3274 (with-current-buffer rmail-summary-buffer
3275 (let ((rmail-total-messages total))
3276 (rmail-update-summary))))
3271 (if (rmail-summary-exists) 3277 (if (rmail-summary-exists)
3272 (rmail-select-summary (rmail-update-summary)) 3278 (rmail-select-summary (rmail-update-summary))
3273 ;; If we expunged the current message, a new one is current now, 3279 ;; If we expunged the current message, a new one is current now,