]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-quit): Remove summary buffer from display.
authorRichard M. Stallman <rms@gnu.org>
Wed, 23 Mar 1994 18:38:23 +0000 (18:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 23 Mar 1994 18:38:23 +0000 (18:38 +0000)
Thoroughly remove Rmail buffer from display.

lisp/mail/rmail.el

index 24bc1c2635f457c244339f7b114aa69e32f7018f..c72fdf9a57a59e8e2ee166a3bca8254cae1590bc 100644 (file)
@@ -654,9 +654,11 @@ Instead, these commands are available:
   (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