From: Chris Hanson Date: Fri, 30 Jun 2000 19:11:46 +0000 (+0000) Subject: Don't inline text/plain entities that have disposition ATTACHMENT. X-Git-Tag: 20090517-FFI~3409 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e6dc2ad7ba4fd3a7cf34dd75c0d26201d7aeb0c2;p=mit-scheme.git Don't inline text/plain entities that have disposition ATTACHMENT. --- diff --git a/v7/src/imail/imail-top.scm b/v7/src/imail/imail-top.scm index 0a9fa271e..a3f8537f7 100644 --- a/v7/src/imail/imail-top.scm +++ b/v7/src/imail/imail-top.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-top.scm,v 1.203 2000/06/30 18:31:31 cph Exp $ +;;; $Id: imail-top.scm,v 1.204 2000/06/30 19:11:46 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -2145,13 +2145,13 @@ Negative argument means search in reverse." (message (body ) selector context mark) (if (and (or (not (insert-mime-context-enclosure context)) (let ((disposition (mime-body-disposition body))) - (and disposition - (eq? (car disposition) 'INLINE))) - (let ((subtype (mime-body-subtype body))) - (or (eq? subtype 'PLAIN) - (memq subtype - (ref-variable imail-inline-mime-text-subtypes - mark))))) + (if disposition + (eq? (car disposition) 'INLINE) + (let ((subtype (mime-body-subtype body))) + (or (eq? subtype 'PLAIN) + (memq subtype + (ref-variable imail-inline-mime-text-subtypes + mark))))))) (known-mime-encoding? (mime-part-encoding context body)) (re-string-match (string-append "\\`"