* wl-summary.el (wl-summary-switch-to-clone-buffer): Ditto.
2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * wl-mime.el (wl-message-delete-current-part): Use
+ `insert-buffer-substring' instead of `insert-buffer'.
+ * wl-summary.el (wl-summary-switch-to-clone-buffer): Ditto.
+
* wl-address.el: Add (eval-when-compile (require 'cl)).
* wl-addrmgr.el: Ditto.
* wl-mime.el: Ditto.
(format "Do you really want to delete part %s? "
(wl-mime-node-id-to-string node-id))))
(when (with-temp-buffer
- (insert-buffer orig-buf)
+ (insert-buffer-substring orig-buf)
(delete-region header-start body-end)
(goto-char header-start)
(insert "Content-Type: text/plain; charset=US-ASCII\n")
(wl-summary-mode)
(wl-summary-buffer-set-folder folder)
(let ((buffer-read-only nil))
- (insert-buffer cur-buf))
+ (insert-buffer-substring cur-buf))
(set-buffer-modified-p nil)
(while copy-variables
(set (car copy-variables)