of flusing priviously inserted message contents.
2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
+ * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
+ of flusing priviously inserted message contents.
+
* elmo-imap4.el (elmo-folder-search): Fix return value.
2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
(while (and numbers (< count number-per-process))
(insert "From MAILER-DAEMON@example.com\n")
(let ((begin (point)))
- (elmo-spam-message-fetch folder (car numbers))
+ (insert
+ (with-temp-buffer
+ (elmo-spam-message-fetch folder (car numbers))
+ (buffer-string)))
(goto-char begin)
(while (re-search-forward "^>*From " nil t)
(goto-char (match-beginning 0))