* elmo-maildir.el (elmo-folder-append-buffer): Correctly get the
number of the appended message.
+2011-11-30 David Maus <dmaus@ictsoc.de>
+
+ * elmo-maildir.el (elmo-folder-append-buffer): Correctly get the
+ number of the appended message.
+
2011-06-03 David Maus <dmaus@ictsoc.de>
* elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't mark
return-number)
(let ((basedir (elmo-maildir-folder-directory-internal folder))
(src-buf (current-buffer))
+ (number (elmo-folder-next-message-number folder))
dst-buf filename)
(condition-case nil
(with-temp-buffer
basedir))
(elmo-folder-preserve-flags
folder (elmo-msgdb-get-message-id-from-buffer) flags)
- (if return-number
- (car (elmo-folder-status folder))
- t))
+ (if return-number number t))
;; If an error occured, return nil.
(error))))