(mime-view-display-message): fixed.
authormorioka <morioka>
Sun, 17 May 1998 03:12:14 +0000 (03:12 +0000)
committermorioka <morioka>
Sun, 17 May 1998 03:12:14 +0000 (03:12 +0000)
mime-view.el

index 48e5abb..fdaa2fa 100644 (file)
@@ -769,10 +769,12 @@ The compressed face will be piped to this command.")
       (run-hooks 'mime-view-content-header-filter-hook)
       )
     (let* ((situation
-           (ctree-match-calist mime-preview-condition
-                               (list* (cons 'major-mode major-mode)
-                                      (cons 'encoding   encoding)
-                                      content-type)))
+           (ctree-match-calist
+            mime-preview-condition
+            (list* (cons 'major-mode major-mode)
+                   (cons 'encoding   encoding)
+                   (or content-type
+                       (make-mime-content-type 'text 'plain)))))
           (message-button
            (cdr (assq 'message-button situation)))
           (body-presentation-method