+2003-09-13 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * wl-draft.el (wl-draft-fcc-append-read-folder-hist): New variable.
+ (wl-draft-do-fcc): Append fcc'ed folder to wl-read-folder-hist.
+
2003-09-06 Yuuichi Teranishi <teranisi@gohome.org>
* wl-mime.el (wl-draft-preview-message): Use `format' to print value.
(progn (forward-line 1) (point)))))
fcc-list)))
+(defcustom wl-draft-fcc-append-read-folder-hist t
+ "Non-nil to append fcc'ed folder to `wl-read-folder-hist'."
+ :type 'boolean
+ :group 'wl-draft)
+
(defun wl-draft-do-fcc (header-end &optional fcc-list)
(let ((send-mail-buffer (current-buffer))
(tembuf (generate-new-buffer " fcc output"))
(and wl-fcc-force-as-read 'read))
(wl-draft-write-sendlog 'ok 'fcc nil (car fcc-list) id)
(wl-draft-write-sendlog 'failed 'fcc nil (car fcc-list) id))
+ (if (and wl-draft-fcc-append-read-folder-hist
+ (boundp 'wl-read-folder-hist))
+ (setq wl-read-folder-hist
+ (append (list (car fcc-list)) wl-read-folder-hist)))
(setq fcc-list (cdr fcc-list)))))
(kill-buffer tembuf)))