From: Lars Ingebrigtsen Date: Mon, 6 Feb 2012 22:21:35 +0000 (+0000) Subject: Allow exiting from Gnus when just reading a single group from "without" Gnus. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=58808ec687cf05e5a9b7a6c87c671904c46b3098 Allow exiting from Gnus when just reading a single group from "without" Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e8bc8d8ef..3d7ccce31 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-02-06 Lars Ingebrigtsen + + * 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 * gnus-sum.el (gnus-summary-show-thread): diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 8705a21b2..b3d79021d 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -7354,7 +7354,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." (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)