* gnus-start.el (gnus-read-active-for-groups): Always mark the data as
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 30 Jul 2013 14:53:53 +0000 (16:53 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 30 Jul 2013 14:54:13 +0000 (16:54 +0200)
dirty to ensure nnimap data being saved.

lisp/ChangeLog
lisp/gnus-start.el

index 7c4f060..eb7d56b 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-start.el (gnus-read-active-for-groups): Always mark the data as
+       dirty to ensure nnimap data being saved.
+
 2013-07-30  Tassilo Horn  <tsdh@gnu.org>
 
        * gnus-sum.el (gnus-summary-make-menu-bar): Add "Current thread score"
index 05cf290..e27fb52 100644 (file)
@@ -1807,6 +1807,9 @@ backend check whether the group actually exists."
        (or (not (gnus-agent-method-p method))
           (gnus-online method)))
       (gnus-finish-retrieve-group-infos method infos early-data)
+      ;; We may have altered the data now, so mark the dribble buffer
+      ;; as dirty so that it gets saved.
+      (gnus-dribble-touch)
       (gnus-agent-save-active method))
      ;; Most backends have -retrieve-groups.
      ((gnus-check-backend-function 'retrieve-groups (car method))