[gnus git] branch master updated: n0-17-68-gef15a6e =1= gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ephemeral group.
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via ef15a6ec0e45256206c3ebbdbf95675a088e3283 (commit)
from bc1350c0871a8da4d356861b06020e37692056ef (commit)
- Log -----------------------------------------------------------------
commit ef15a6ec0e45256206c3ebbdbf95675a088e3283
Author: Katsumi Yamaoka <[email protected]>
Date: Tue May 31 10:37:10 2011 +0000
gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ephemeral group.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 63f02d2..0dc6f60 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-31 Katsumi Yamaoka <[email protected]>
+
+ * gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in
+ ephemeral group.
+
2011-05-30 Lars Magne Ingebrigtsen <[email protected]>
* gnus-group.el (gnus-group-mark-article-read): It's possible that we
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 2d75c35..1c4382b 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -7194,7 +7194,11 @@ If FORCE (the prefix), also save the .newsrc file(s)."
(article-buffer gnus-article-buffer)
(mode major-mode)
(group-point nil)
- (buf (current-buffer)))
+ (buf (current-buffer))
+ ;; `gnus-single-article-buffer' is nil buffer-locally in
+ ;; ephemeral group of which summary buffer will be killed,
+ ;; but the global value may be non-nil.
+ (single-article-buffer gnus-single-article-buffer))
(unless quit-config
;; Do adaptive scoring, and possibly save score files.
(when gnus-newsgroup-adaptive
@@ -7257,7 +7261,7 @@ If FORCE (the prefix), also save the .newsrc file(s)."
(gnus-configure-windows 'group 'force)))
;; If we have several article buffers, we kill them at exit.
- (unless gnus-single-article-buffer
+ (unless single-article-buffer
(when (gnus-buffer-live-p article-buffer)
(with-current-buffer article-buffer
;; Don't kill sticky article buffers
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 5 +++++
lisp/gnus-sum.el | 8 ++++++--
2 files changed, 11 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project