Commit 15562805 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

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.
parent 7dd679eb
2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
* 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 <cyd@gnu.org>
 
* gnus-sum.el (gnus-summary-show-thread):
......
......@@ -7352,7 +7352,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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment