Don't query about discarding changes in ephemeral groups
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 14 Nov 2014 04:17:19 +0000 (04:17 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 14 Nov 2014 04:17:19 +0000 (04:17 +0000)
lisp/ChangeLog
lisp/gnus-sum.el

index 5629abd..dc38ee8 100644 (file)
@@ -1,5 +1,8 @@
 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-sum.el (gnus-summary-exit-no-update): Don't query about
+       discarding changes in ephemeral groups.
+
        * ietf-drums.el (ietf-drums-parse-address): Don't issue warnings about
        things the user isn't interested in.
 
index 55a263d..69bb106 100644 (file)
@@ -7334,6 +7334,7 @@ If FORCE (the prefix), also save the .newsrc file(s)."
         (gnus-group-is-exiting-without-update-p t)
         (quit-config (gnus-group-quit-config group)))
     (when (or no-questions
+             (gnus-ephemeral-group-p group)
              gnus-expert-user
              (gnus-y-or-n-p "Discard changes to this group and exit? "))
       (gnus-async-halt-prefetch)