+2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
+ `entity'.
+ (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
+ if the message entity is exists.
+
2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-util.el (elmo-msgdb-insert-file-header): Call
(luna-define-method elmo-folder-message-file-p ((folder elmo-shimbun-folder))
nil)
-(defsubst elmo-shimbun-update-overview (folder shimbun-id header)
- (let ((entity (elmo-message-entity folder shimbun-id))
- (message-id (shimbun-header-id header))
+(defsubst elmo-shimbun-update-overview (folder entity shimbun-id header)
+ (let ((message-id (shimbun-header-id header))
references)
(when (elmo-msgdb-update-entity
(elmo-folder-msgdb folder)
(elmo-string-match-member
(elmo-folder-name-internal folder)
elmo-shimbun-update-overview-folder-list))
- (elmo-shimbun-update-overview folder location header))
+ (let ((entity (elmo-message-entity folder location)))
+ (when entity
+ (elmo-shimbun-update-overview folder entity location header))))
(when (setq shimbun-id
(elmo-shimbun-header-extra-field header "x-shimbun-id"))
(goto-char (point-min))