emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r107148: Minor Gnus group exit fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107148: Minor Gnus group exit fix
Date: Mon, 06 Feb 2012 22:44:51 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107148
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Mon 2012-02-06 22:44:51 +0100
message:
  Minor Gnus group exit fix
  
  * gnus-sum.el (gnus-handle-ephemeral-exit): Allow exiting from Gnus
  when just reading a single group from "without" Gnus.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-sum.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2012-02-06 13:59:13 +0000
+++ b/lisp/gnus/ChangeLog       2012-02-06 21:44:51 +0000
@@ -1,3 +1,8 @@
+2012-02-06  Lars Ingebrigtsen  <address@hidden>
+
+       * gnus-sum.el (gnus-handle-ephemeral-exit): Allow exiting from Gnus
+       when just reading a single group from "without" Gnus.
+
 2012-02-06  Chong Yidong  <address@hidden>
 
        * gnus-sum.el (gnus-summary-show-thread):

=== modified file 'lisp/gnus/gnus-sum.el'
--- a/lisp/gnus/gnus-sum.el     2012-02-06 13:59:13 +0000
+++ b/lisp/gnus/gnus-sum.el     2012-02-06 21:44:51 +0000
@@ -7352,7 +7352,7 @@
 (defun gnus-handle-ephemeral-exit (quit-config)
   "Handle movement when leaving an ephemeral group.
 The state which existed when entering the ephemeral is reset."
-  (if (not (buffer-name (car quit-config)))
+  (if (not (buffer-live-p (car quit-config)))
       (gnus-configure-windows 'group 'force)
     (set-buffer (car quit-config))
     (unless (eq (cdr quit-config) 'group)


reply via email to

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