]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-quit): Call quit-window before calling
authorKenichi Handa <handa@m17n.org>
Mon, 16 Mar 1998 05:58:11 +0000 (05:58 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 16 Mar 1998 05:58:11 +0000 (05:58 +0000)
replace-buffer-in-windows to assure that we can switch the rmail
buffer of the selected window.

lisp/mail/rmail.el

index 7de2b77d395b69574fcd9fe12184cda598c3cd61..5f4638426cc1347f5a0989f845be3f0bbe95779e 100644 (file)
@@ -966,8 +966,8 @@ Instead, these commands are available:
     (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."