with `unread' argument.
* elmo2.el (elmo-buffer-cache-message): Added argument `unread'.
+2001-02-14 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo2.el (elmo-buffer-cache-message): Added argument `unread'.
+
2001-02-13 OKAZAKI Tetsurou <refactor@acidrain.localnet>
* elmo-imap4.el (elmo-imap4-prefetch-msg): Set `msgdb'
(setq mark-alist (cdr mark-alist)))
(nreverse ret-val)))
-(defun elmo-buffer-cache-message (fld msg &optional msgdb force-reload)
+(defun elmo-buffer-cache-message (fld msg &optional msgdb force-reload unread)
(let* ((msg-id (cdr (assq msg (elmo-msgdb-get-number-alist msgdb))))
(hit (elmo-buffer-cache-hit (list fld msg msg-id)))
(read nil))
(set-buffer hit)
(elmo-read-msg fld msg
(current-buffer)
- msgdb force-reload 'unread))
+ msgdb force-reload
+ unread))
(quit
(elmo-buffer-cache-delete)
(error "read message %s/%s is quitted" fld msg))
+2001-02-14 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-summary.el (wl-cache-prefetch-message):
+ Call `elmo-buffer-cache-message' with `unread' argument.
+
2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
* wl-draft.el (wl-draft-parse-msg-id-list-string): Fix.
folder next)))))
(if wl-cache-prefetch-debug
(message "Reading %d..." msg))
- (elmo-buffer-cache-message folder next msgdb)
+ (elmo-buffer-cache-message folder next msgdb 'unread)
(if wl-cache-prefetch-debug
(message "Reading %d... done" msg))))))))))