(mime-preview-quitting-method-for-mime-show-message-mode): Don't refer
authormorioka <morioka>
Thu, 22 Jul 1999 07:05:39 +0000 (07:05 +0000)
committermorioka <morioka>
Thu, 22 Jul 1999 07:05:39 +0000 (07:05 +0000)
`mime-raw-buffer'.

mime-play.el

index d38e599..c7ca316 100644 (file)
@@ -519,10 +519,11 @@ SUBTYPE is symbol to indicate subtype of media-type.")
 (defun mime-preview-quitting-method-for-mime-show-message-mode ()
   "Quitting method for mime-view.
 It is registered to variable `mime-preview-quitting-method-alist'."
-  (let ((mother mime-mother-buffer)
-       (win-conf mime-preview-original-window-configuration)
-       )
-    (kill-buffer mime-raw-buffer)
+  (let ((raw-buffer (mime-entity-buffer
+                    (get-text-property (point-min) 'mime-view-entity)))
+       (mother mime-mother-buffer)
+       (win-conf mime-preview-original-window-configuration))
+    (kill-buffer raw-buffer)
     (mime-preview-kill-buffer)
     (set-window-configuration win-conf)
     (pop-to-buffer mother)