changeset 21192:f985cd03f38c

(rmail-quit): Call quit-window before calling replace-buffer-in-windows to assure that we can switch the rmail buffer of the selected window.
author Kenichi Handa <handa@m17n.org>
date Mon, 16 Mar 1998 05:58:11 +0000
parents b4e925500a71
children 20bba919ec72
files lisp/mail/rmail.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Mon Mar 16 05:51:07 1998 +0000
+++ b/lisp/mail/rmail.el	Mon Mar 16 05:58:11 1998 +0000
@@ -966,8 +966,8 @@
     (replace-buffer-in-windows rmail-summary-buffer)
     (bury-buffer rmail-summary-buffer))
   (let ((obuf (current-buffer)))
-    (replace-buffer-in-windows obuf)
-    (quit-window)))
+    (quit-window)
+    (replace-buffer-in-windows obuf)))
 
 (defun rmail-bury ()
   "Bury current Rmail buffer and its summary buffer."