(rmail-quit): Call quit-window before calling

replace-buffer-in-windows to assure that we can switch the rmail
buffer of the selected window.
This commit is contained in:
Kenichi Handa 1998-03-16 05:58:11 +00:00
parent e3a87305b8
commit 1ad59104de

View 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."