From: morioka Date: Sun, 17 May 1998 03:12:14 +0000 (+0000) Subject: (mime-view-display-message): fixed. X-Git-Tag: remi-1_4_0~1 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ef626c633323d2aa23e3a32804dda6ac588c3a;p=elisp%2Fsemi.git (mime-view-display-message): fixed. --- diff --git a/mime-view.el b/mime-view.el index 48e5abb..fdaa2fa 100644 --- a/mime-view.el +++ b/mime-view.el @@ -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