* wl-draft.el (wl-draft-find-reply-headers): New function (extract
from `wl-draft-reply').
(wl-draft-reply): Use it.
+ (wl-draft-find-reply-headers): Avoid compile warning.
2006-02-14 Yoichi NAKAYAMA <yoichi@geiin.org>
(defun wl-draft-find-reply-headers (rule-symbol)
(let ((rule-list (symbol-value rule-symbol))
- (condition-match-p
- (lambda (condition)
- (cond ((stringp condition)
- (std11-field-body condition))
- ((symbolp condition)
- (funcall condition))
- ((consp condition)
- (and (funcall condition-match-p (car condition))
- (funcall condition-match-p (cdr condition))))
- ((null condition))
- (t
- (error "Unkown condition in `%s'" rule-symbol)))))
- result)
+ condition-match-p result)
+ (setq condition-match-p
+ (lambda (condition)
+ (cond ((stringp condition)
+ (std11-field-body condition))
+ ((symbolp condition)
+ (funcall condition))
+ ((consp condition)
+ (and (funcall condition-match-p (car condition))
+ (funcall condition-match-p (cdr condition))))
+ ((null condition))
+ (t
+ (error "Unkown condition in `%s'" rule-symbol)))))
(while (and (null result) rule-list)
(let ((rule (car rule-list)))
(when (funcall condition-match-p (car rule))