comparison lisp/gnus/nnmh.el @ 47002:b87254142b98

* nnfolder.el (nnfolder-request-expire-articles): expiry-target. * nnbabyl.el (nnbabyl-request-expire-articles): Ditto. * nnmbox.el (nnmbox-request-expire-articles): Ditto. * nnmh.el (nnmh-request-expire-articles): Implemented expiry-target for nnmh backend.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Fri, 23 Aug 2002 03:32:58 +0000
parents 47d8bf1dec03
children 695cf19ef79e d7ddb3e565de
comparison
equal deleted inserted replaced
47001:66b6d19633ed 47002:b87254142b98
263 (when (setq mod-time (nth 5 (file-attributes article))) 263 (when (setq mod-time (nth 5 (file-attributes article)))
264 (if (and (nnmh-deletable-article-p newsgroup (car articles)) 264 (if (and (nnmh-deletable-article-p newsgroup (car articles))
265 (setq is-old 265 (setq is-old
266 (nnmail-expired-article-p newsgroup mod-time force))) 266 (nnmail-expired-article-p newsgroup mod-time force)))
267 (progn 267 (progn
268 ;; Allow a special target group. -- jcn
269 (unless (eq nnmail-expiry-target 'delete)
270 (with-temp-buffer
271 (nnmh-request-article (car articles)
272 newsgroup server (current-buffer))
273 (nnmail-expiry-target-group
274 nnmail-expiry-target newsgroup)))
268 (nnheader-message 5 "Deleting article %s in %s..." 275 (nnheader-message 5 "Deleting article %s in %s..."
269 article newsgroup) 276 article newsgroup)
270 (condition-case () 277 (condition-case ()
271 (funcall nnmail-delete-file-function article) 278 (funcall nnmail-delete-file-function article)
272 (file-error 279 (file-error