From: yamaoka Date: Fri, 28 May 2004 06:13:18 +0000 (+0000) Subject: Synch to No Gnus 200405280612. X-Git-Tag: t-gnus-6_17_4-quimby-~886 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1598d9b28b3fb743fdd190a73e180a2ecbcae73f;p=elisp%2Fgnus.git- Synch to No Gnus 200405280612. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f70a10d..af3c18d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2004-05-28 Katsumi Yamaoka + + * mm-encode.el (mm-safer-encoding): Consider 7bit is safe. + 2004-05-27 Teodor Zlatanov * assistant.el (assistant-render-text): trying to add a :set diff --git a/lisp/mm-encode.el b/lisp/mm-encode.el index cb17414..f0b8aef 100644 --- a/lisp/mm-encode.el +++ b/lisp/mm-encode.el @@ -1,5 +1,5 @@ ;;; mm-encode.el --- Functions for encoding MIME things -;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 +;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 ;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen @@ -88,7 +88,8 @@ This variable should never be set directly, but bound before a call to (defun mm-safer-encoding (encoding) "Return an encoding similar to ENCODING but safer than it." (cond - ((memq encoding '(7bit 8bit quoted-printable)) 'quoted-printable) + ((eq encoding '7bit) '7bit) ;; 7bit is considered safe. + ((memq encoding '(8bit quoted-printable)) 'quoted-printable) ;; The remaining encodings are binary and base64 (and perhaps some ;; non-standard ones), which are both turned into base64. (t 'base64)))