`elmo-map-folder-set-flag'.
2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+ * elmo-maildir.el (elmo-map-message-fetch): Call
+ `elmo-map-folder-set-flag'.
+
* elmo.el (elmo-message-fetch-with-cache-process): Abolish.
(elmo-message-fetch): Merge from
`elmo-message-fetch-with-cache-process'.
&optional section unseen)
(let ((file (elmo-maildir-message-file-name folder location)))
(when (file-exists-p file)
- (insert-file-contents-as-binary file))))
+ (insert-file-contents-as-binary file)
+ (unless unseen
+ (elmo-map-folder-set-flag folder location 'read))
+ t)))
(luna-define-method elmo-folder-exists-p ((folder elmo-maildir-folder))
(let ((basedir (elmo-maildir-folder-directory-internal folder)))