From eab9dfdd8e9759301870358282872457d8d2a289 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 30 Aug 1999 08:04:09 +0000 Subject: [PATCH] (mime-edit-mime-version-field-for-message/partial): Encode `mime-edit-version'. --- mime-edit.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mime-edit.el b/mime-edit.el index 76ddc00..ccff976 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -109,6 +109,7 @@ (require 'sendmail) (require 'mail-utils) (require 'mel) +(require 'eword-encode) ; eword-encode-field-body (require 'mime-view) (require 'signature) (require 'alist) @@ -685,7 +686,10 @@ Tspecials means any character that matches with it in header must be quoted.") "MIME version number.") (defconst mime-edit-mime-version-field-for-message/partial - (concat "MIME-Version: 1.0 (split by " mime-edit-version ")\n") + (concat "MIME-Version:" + (eword-encode-field-body + (concat " 1.0 (split by " mime-edit-version ")\n") + "MIME-Version:")) "MIME version field for message/partial.") -- 1.7.10.4