Allow expiring nnimap to a group again
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 13 Feb 2015 06:23:09 +0000 (17:23 +1100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 13 Feb 2015 06:23:09 +0000 (17:23 +1100)
* nnmail.el (nnmail-expiry-target-group): Supply the info structure to
`gnus-request-group'.

lisp/ChangeLog
lisp/nnmail.el

index 64a9673..070b970 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnmail.el (nnmail-expiry-target-group): Supply the info structure to
+       `gnus-request-group'.
+
 2015-02-12  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-art.el (gnus-article-browse-html-save-cid-content)
index 62fcc2d..5c54810 100644 (file)
@@ -1921,7 +1921,7 @@ If TIME is nil, then return the cutoff time for oldness instead."
     (when (functionp target)
       (setq target (funcall target group)))
     (unless (eq target 'delete)
-      (when (or (gnus-request-group target)
+      (when (or (gnus-request-group target nil nil (gnus-get-info target))
                (gnus-request-create-group target))
        (let ((group-art (gnus-request-accept-article target nil nil t)))
          (when (and (consp group-art)