+2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
+ Convert field-name to lower case.
+ (elmo-msgdb-overview-entity-set-extra-field): Ditto.
+
2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
* acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
(and entity (car entity)))
(defsubst elmo-msgdb-overview-entity-get-extra-field (entity field-name)
- (let ((extra (and entity (aref (cdr entity) 8))))
+ (let ((field-name (downcase field-name))
+ (extra (and entity (aref (cdr entity) 8))))
(and extra
(cdr (assoc field-name extra)))))
(defsubst elmo-msgdb-overview-entity-set-extra-field (entity field-name value)
- (let ((extras (and entity (aref (cdr entity) 8)))
+ (let ((field-name (downcase field-name))
+ (extras (and entity (aref (cdr entity) 8)))
extra)
(if (setq extra (assoc field-name extras))
(setcdr extra value)