From: Rocco Rutte Date: Wed, 17 Jun 2009 16:02:19 +0000 (+0200) Subject: Always display text/* parts inline, overrideable by auto_view. Closes #3246. X-Git-Tag: mutt-1-5-21-rel~237^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74e4838e9f19ef66f1e0d091829279298dc9787e;p=mutt Always display text/* parts inline, overrideable by auto_view. Closes #3246. --- diff --git a/UPDATING b/UPDATING index 9d2ac147..36a2fb7a 100644 --- a/UPDATING +++ b/UPDATING @@ -6,6 +6,8 @@ The keys used are: hg tip: + + all text/* parts can be displayed inline without mailcap + 1.5.20 (2009-06-14): ! $fcc_attach is a quadoption now diff --git a/muttlib.c b/muttlib.c index 590bef7a..8539c8fa 100644 --- a/muttlib.c +++ b/muttlib.c @@ -622,11 +622,8 @@ int mutt_needs_mailcap (BODY *m) switch (m->type) { case TYPETEXT: - - if (!ascii_strcasecmp ("plain", m->subtype) || - !ascii_strcasecmp ("rfc822-headers", m->subtype) || - !ascii_strcasecmp ("enriched", m->subtype)) - return 0; + /* we can display any text, overridable by auto_view */ + return 0; break; case TYPEAPPLICATION: