+2001-07-30 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/nnshimbun.el (nnshimbun-request-expire-articles): Bind
+ `nnmail-expiry-wait-function' to nil if the group's parameter
+ `expiry-wait' is specified by the user or the shimbun's default
+ value is provided.
+
2001-07-27 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-msg.el (gnus-message-make-user-agent): New
(let* ((expirable (copy-sequence articles))
(name (concat "nnshimbun+" server ":" group))
;; If the group's parameter `expiry-wait' is non-nil,
- ;; `nnmail-expiry-wait' is bound to that value, and
- ;; `nnmail-expiry-wait-function' is bound to nil.
- ;; See the source code of `gnus-summary-expire-articles'.
- ;; Prefer the shimbun's default to `nnmail-expiry-wait'
- ;; only when the group's parameter is nil.
+ ;; the value of the option `nnmail-expiry-wait' will be
+ ;; bound to that value, and the value of the option
+ ;; `nnmail-expiry-wait-function' will be bound to nil.
+ ;; See the source code of `gnus-summary-expire-articles'
+ ;; how does it work. If the group's parameter is not
+ ;; specified by user, the shimbun's default value will
+ ;; be used.
(nnmail-expiry-wait
(or (nnshimbun-find-parameter name 'expiry-wait t)
(shimbun-article-expiration-days nnshimbun-shimbun)
nnmail-expiry-wait))
+ (nnmail-expiry-wait-function (if nnmail-expiry-wait
+ nil
+ nnmail-expiry-wait-function))
article end time)
(save-excursion
(set-buffer buffer)