emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104447: gnus-sum.el (gnus-summary-ex


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104447: gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ephemeral group.
Date: Tue, 31 May 2011 10:37:35 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104447
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Tue 2011-05-31 10:37:35 +0000
message:
  gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in 
ephemeral group.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-sum.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2011-05-30 22:11:52 +0000
+++ b/lisp/gnus/ChangeLog       2011-05-31 10:37:35 +0000
@@ -1,3 +1,8 @@
+2011-05-31  Katsumi Yamaoka  <address@hidden>
+
+       * gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in
+       ephemeral group.
+
 2011-05-30  Lars Magne Ingebrigtsen  <address@hidden>
 
        * gnus-group.el (gnus-group-mark-article-read): It's possible that we

=== modified file 'lisp/gnus/gnus-sum.el'
--- a/lisp/gnus/gnus-sum.el     2011-05-30 22:11:52 +0000
+++ b/lisp/gnus/gnus-sum.el     2011-05-31 10:37:35 +0000
@@ -7194,7 +7194,11 @@
         (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 @@
          (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]