(mime-view-display-entity): fixed.
authormorioka <morioka>
Fri, 15 May 1998 20:56:07 +0000 (20:56 +0000)
committermorioka <morioka>
Fri, 15 May 1998 20:56:07 +0000 (20:56 +0000)
mime-view.el

index 38b4f38..ed31569 100644 (file)
@@ -838,10 +838,12 @@ The compressed face will be piped to this command.")
       )
     (let* ((situation
            (ctree-match-calist mime-preview-condition
-                               (append content-type
-                                       (list* (cons 'encoding   encoding)
-                                              (cons 'major-mode major-mode)
-                                              default-situation))))
+                               (append
+                                (or content-type
+                                    (make-mime-content-type 'text 'plain))
+                                (list* (cons 'encoding   encoding)
+                                       (cons 'major-mode major-mode)
+                                       default-situation))))
           (button-is-invisible
            (eq (cdr (assq 'entity-button situation)) 'invisible))
           (header-is-visible