changeset 6484:04993cb5dcda

(rmail-quit): Remove summary buffer from display. Thoroughly remove Rmail buffer from display.
author Richard M. Stallman <rms@gnu.org>
date Wed, 23 Mar 1994 18:38:23 +0000
parents 373e377d79f7
children b0825eef18b1
files lisp/mail/rmail.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Wed Mar 23 18:29:07 1994 +0000
+++ b/lisp/mail/rmail.el	Wed Mar 23 18:38:23 1994 +0000
@@ -654,9 +654,11 @@
   (rmail-expunge-and-save)
   ;; Don't switch to the summary buffer even if it was recently visible.
   (if rmail-summary-buffer
-      (bury-buffer rmail-summary-buffer))
+      (progn
+	(replace-buffer-in-windows rmail-summary-buffer)
+	(bury-buffer rmail-summary-buffer)))
   (let ((obuf (current-buffer)))
-    (switch-to-buffer (other-buffer))
+    (replace-buffer-in-windows obuf)
     (bury-buffer obuf)))
 
 ;;;###autoload