summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-25 16:56:15 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-25 16:56:15 +0000
commitb73e2d8498eaf4c93cec7873ec285b7d33c34c41 (patch)
treef72d22d4669b03971f9f135a7f8f86456ce73dc5
parentb735d4b34ba59e11d35e55bb3630c96fdcda98b6 (diff)
downloademacs-b73e2d8498eaf4c93cec7873ec285b7d33c34c41.tar.gz
(rmail-bury): Fix call to set-window-buffer.
-rw-r--r--lisp/mail/rmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index e11d40a7097..6658185005d 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -1788,7 +1788,7 @@ the body of the original message; otherwise copy the current message."
(if (rmail-summary-exists)
(let (window)
(while (setq window (get-buffer-window rmail-summary-buffer))
- (set-window-buffer (other-buffer rmail-summary-buffer)))
+ (set-window-buffer window (other-buffer rmail-summary-buffer)))
(bury-buffer rmail-summary-buffer)))
(switch-to-buffer (other-buffer (current-buffer)))
(bury-buffer rmail-buffer)))