Gnus development mailing list
 help / color / mirror / Atom feed
* [Patch] nnmh.el does not consider expiry-target
@ 2003-06-06  1:45 Nevin Kapur
  0 siblings, 0 replies; only message in thread
From: Nevin Kapur @ 2003-06-06  1:45 UTC (permalink / raw)


Please consider the following patch which makes
nnmh-request-expire-articles check not only nnmail-expiry-target but
the expiry-target group parameter.

2003-06-05  Nevin Kapur  <kapur@mts.jhu.edu>

	* nnmh.el (nnmh-request-expire-articles): Check for expiry-target
	as target for expiry.

Index: lisp/nnmh.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnmh.el,v
retrieving revision 6.12
diff -u -r6.12 nnmh.el
--- lisp/nnmh.el	1 May 2003 14:23:15 -0000	6.12
+++ lisp/nnmh.el	6 Jun 2003 01:57:52 -0000
@@ -268,7 +268,10 @@
 		       (nnmail-expired-article-p newsgroup mod-time force)))
 	    (progn
 	      ;; Allow a special target group. -- jcn
-	      (unless (eq nnmail-expiry-target 'delete)
+	      (unless (eq (or
+			   (gnus-group-find-parameter
+			    gnus-newsgroup-name 'expiry-target)
+			   nnmail-expiry-target) 'delete)
 		(with-temp-buffer
 		  (nnmh-request-article (car articles)
 					newsgroup server (current-buffer))
        

-Nevin




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-06  1:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-06  1:45 [Patch] nnmh.el does not consider expiry-target Nevin Kapur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).