(mime-edit-normalize-body): Use "7bit" for nil encoding as an argument
authormorioka <morioka>
Sun, 20 Sep 1998 04:15:01 +0000 (04:15 +0000)
committermorioka <morioka>
Sun, 20 Sep 1998 04:15:01 +0000 (04:15 +0000)
of `mime-encode-region'.

mime-edit.el

index 1aa3c2f..e2065cb 100644 (file)
@@ -2069,7 +2069,8 @@ Content-Transfer-Encoding: 7bit
                    (while (re-search-forward "\\(\\=\\|[^\r]\\)\n" nil t)
                      (replace-match "\\1\r\n"))))
              (goto-char beg)
-             (mime-encode-region beg (mime-edit-content-end) encoding)
+             (mime-encode-region beg (mime-edit-content-end)
+                                 (or encoding "7bit"))
              (mime-edit-define-encoding encoding)
              ))
        (goto-char (mime-edit-content-end))