summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-12-04 13:08:01 -0500
committerGlenn Morris <rgm@gnu.org>2012-12-04 13:08:01 -0500
commit52d129cd62f502a855031c7cf5b6959a4a6e33da (patch)
treef3035ffe8f3f2a1bcebfe66a7f055fdd03a2286e
parent68bf4e0964f28642ec035e5ebd0b4c567bb9f739 (diff)
downloademacs-52d129cd62f502a855031c7cf5b6959a4a6e33da.tar.gz
rmail-new-summary fix for bug#13066
* lisp/mail/rmailsum.el (rmail-new-summary): Tweak for rmail-maybe-display-summary changing buffer.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/rmailsum.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6154c25e6db..7fc65d2bb3e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-04 Glenn Morris <rgm@gnu.org>
+
+ * mail/rmailsum.el (rmail-new-summary): Tweak for
+ rmail-maybe-display-summary changing buffer. (Bug#13066)
+
2012-12-03 Juri Linkov <juri@jurta.org>
* info.el (Info-fontify-node): Don't hide the last newline.
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 612ccbdfd9e..cacc6e19416 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -428,7 +428,7 @@ nil for FUNCTION means all messages."
;; This is how rmail makes the summary buffer reappear.
;; We do this here to make the window the proper size.
(rmail-select-summary nil)
- (set-buffer rmail-summary-buffer))
+ (set-buffer sumbuf))
(rmail-summary-goto-msg mesg t t)
(rmail-summary-construct-io-menu)
(message "Computing summary lines...done")))