+2000-07-03 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * mime-edit.el (mime-edit-preview-message): Set up local variable
+ `mime-edit-temp-message-buffer'.
+ (mime-edit-quitting-method): Refer `mime-edit-temp-message-buffer'
+ to avoid to use `mime-entity-buffer'.
+ (Synch with latest remi-1_14)
+ (mime-edit-temp-message-buffer): Defined.
+
2000-06-27 Daiki Ueno <ueno@unixuser.org>
* mime-image.el (mime-image-insert): Synch with the latest image.el.
;;;
(defvar mime-edit-buffer nil) ; buffer local variable
+(defvar mime-edit-temp-message-buffer nil)
(defun mime-edit-preview-message ()
"preview editing MIME message."
(if (re-search-forward
(concat "^" (regexp-quote separator) "$"))
(replace-match ""))
- (mime-view-buffer)))
+ (mime-view-buffer)
+ (make-local-variable 'mime-edit-temp-message-buffer)
+ (setq mime-edit-temp-message-buffer buf)))
(defun mime-edit-quitting-method ()
"Quitting method for mime-view."
- (let* ((entity (get-text-property (point-min) 'mime-view-entity))
- (temp (mime-buffer-entity-buffer-internal entity))
+ (let* ((temp mime-edit-temp-message-buffer)
buf)
(mime-preview-kill-buffer)
(set-buffer temp)