`number'.
* elmo-multi.el (elmo-message-entity): Don't use return value of
`elmo-message-entity-set-number'.
+2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
+ `number'.
+
+ * elmo-multi.el (elmo-message-entity): Don't use return value of
+ `elmo-message-entity-set-number'.
+
2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* modb.el (modb-generic): Added slot `mime-charset'.
(let* ((pair (elmo-multi-real-folder-number folder key))
(entity (elmo-message-entity (car pair) (cdr pair))))
(when entity
- (elmo-message-entity-set-number (elmo-message-copy-entity entity)
- key))))
+ (setq entity (elmo-message-copy-entity entity))
+ (elmo-message-entity-set-number entity key)
+ entity)))
((stringp key)
(let ((children (elmo-multi-folder-children-internal folder))
(cur-number 0)
(luna-define-method elmo-msgdb-message-entity-set-number
((handler modb-legacy-entity-handler) entity number)
- (and entity (aset (cdr entity) 0 number))
- entity)
+ (and entity (aset (cdr entity) 0 number)))
(luna-define-method elmo-msgdb-message-entity-field
((handler modb-legacy-entity-handler) entity field &optional type)