* mime-edit.el (mime-edit-insert-file): Don't produce
authorhayashi <hayashi>
Mon, 19 Jun 2000 08:17:54 +0000 (08:17 +0000)
committerhayashi <hayashi>
Mon, 19 Jun 2000 08:17:54 +0000 (08:17 +0000)
charset=x-unknown.

ChangeLog
mime-edit.el

index 7d5c16d..f6481ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2000-06-19  Yoshiki Hayashi  <yoshiki@xemacs.org>
 
+       * mime-edit.el (mime-edit-insert-file): Don't produce
+       charset=x-unknown.
+
+2000-06-19  Yoshiki Hayashi  <yoshiki@xemacs.org>
+
        * EMY 1.13.7 is released.
 
 2000-06-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
index 7dc21fb..dcffc5f 100644 (file)
@@ -1167,6 +1167,12 @@ Content-Transfer-Encoding and Content-Disposition headers."
              (setq candidate (if (listp candidates)
                                  (car candidates)
                                candidates))
+             (if (memq (static-if (featurep 'xemacs)
+                           (coding-system-name candidate)
+                         candidate)
+                       '(undecided undecided-unix
+                                   undecided-dos undecided-mac))
+                 (setq candidate 'raw-text))
              (setq eol (coding-system-eol-type candidate))
              (cond ((eq eol
                         (static-if (featurep 'xemacs)