(gnus-summary-refer-thread): Implement a version that uses *-request-thread.
[gnus] / lisp / nndraft.el
index 16e0109..98c14d4 100644 (file)
@@ -222,11 +222,11 @@ are generated if and only if they are also in `message-draft-headers'.")
 (deffoo nndraft-request-expire-articles (articles group &optional server force)
   (nndraft-possibly-change-group group)
   (let* ((nnmh-allow-delete-final t)
-        ((nnmail-expiry-target
-          (or (gnus-group-find-parameter
-               (gnus-group-prefixed-name "nndraft" (list 'nndraft server))
-               'expiry-target t)
-              nnmail-expiry-target)))
+        (nnmail-expiry-target
+         (or (gnus-group-find-parameter
+              (gnus-group-prefixed-name group (list 'nndraft server))
+              'expiry-target t)
+             nnmail-expiry-target))
         (res (nnoo-parent-function 'nndraft
                                    'nnmh-request-expire-articles
                                    (list articles group server force)))