+2003-07-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-refile.el (wl-refile-get-field-value): Fixed and simplified.
+
2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
* wl-refile.el (wl-refile-learn): Don't use msgdb.
(defun wl-refile-get-field-value (entity field)
"Get FIELD value from ENTITY."
- (let ((field (downcase field))
- (fixed-fields '(from subject to cc)))
- (if (member field fixed-fields)
- (elmo-message-entity-field entity field)
- (elmo-msgdb-overview-entity-get-extra-field entity field))))
+ (elmo-message-entity-field entity (intern (downcase field))))
(defun wl-refile-guess-by-rule (entity)
(let ((rules wl-refile-rule-alist)