(mime-view-display-entity): Call body-presentation-method to display
authormorioka <morioka>
Fri, 5 Jun 1998 06:43:17 +0000 (06:43 +0000)
committermorioka <morioka>
Fri, 5 Jun 1998 06:43:17 +0000 (06:43 +0000)
multipart if it is function.

mime-view.el

index eee3635..d735ea5 100644 (file)
@@ -808,8 +808,10 @@ The compressed face will be piped to this command.")
       (put-text-property nb ne 'mime-view-entity entity)
       (goto-char ne)
       (if children
-         (mime-preview-multipart/mixed entity situation)
-       )
+         (if (functionp body-presentation-method)
+             (funcall body-presentation-method entity situation)
+           (mime-preview-multipart/mixed entity situation)
+           ))
       )))
 
 (defun mime-raw-get-uu-filename ()