(mime-view-display-entity): Display entity-button in body if button is
authormorioka <morioka>
Fri, 5 Jun 1998 05:01:54 +0000 (05:01 +0000)
committermorioka <morioka>
Fri, 5 Jun 1998 05:01:54 +0000 (05:01 +0000)
invisible and body-presentation-method is not found.

mime-view.el

index 24a5c70..9f7ac03 100644 (file)
@@ -793,13 +793,18 @@ The compressed face will be piped to this command.")
                 )))
            ((functionp body-presentation-method)
             (funcall body-presentation-method entity situation)
+            )
+           (t
+            (when button-is-invisible
+              (goto-char (point-max))
+              (mime-view-insert-entity-button entity message-info subj)
+              )
+            (or header-is-visible
+                (progn
+                  (goto-char (point-max))
+                  (insert "\n")
+                  ))
             ))
-      (or header-is-visible
-         body-presentation-method
-         (progn
-           (goto-char (point-max))
-           (insert "\n")
-           ))
       (setq ne (point-max))
       (widen)
       (put-text-property nb ne 'mime-view-raw-buffer ibuf)