From 1ad59104de471e09f6586f367cbba60bc2f03a93 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 16 Mar 1998 05:58:11 +0000 Subject: [PATCH] (rmail-quit): Call quit-window before calling replace-buffer-in-windows to assure that we can switch the rmail buffer of the selected window. --- lisp/mail/rmail.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 7de2b77d395..5f4638426cc 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -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." -- 2.39.5