From 69309759a144e3c0326e6848a06d71f23f146fce Mon Sep 17 00:00:00 2001 From: yamaoka Date: Thu, 15 Jan 2004 12:22:47 +0000 Subject: [PATCH] (mime-edit-normalize-body): Fix a comment that the problem related to `replace-match' has been fixed at 2004-01-15, thanks to Handa-san. --- ChangeLog | 7 +++++++ mime-edit.el | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7598afd..fce677f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-01-15 Katsumi Yamaoka + + * mime-edit.el (mime-edit-normalize-body): Fix a comment that the + problem related to `replace-match' has been fixed at 2004-01-15, + thanks to Handa-san. + + 2003-12-24 MORIOKA Tomohiko * SEMI: Version 1.14.6 (Maruoka) released. diff --git a/mime-edit.el b/mime-edit.el index 18263bf..4138333 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -2302,9 +2302,10 @@ Content-Description: S/MIME Encrypted Message][base64]]\n") (narrow-to-region beg (mime-edit-content-end)) (goto-char beg) (while (re-search-forward "\\(\\=\\|[^\r]\\)\n" nil t) - ;; Don't use this in the multibyte buffer since it may - ;; convert the unibyte string into multibyte. - ;;;;(replace-match "\\1\r\n")))) + ;; In a certain period, `replace-match' with "\\N" + ;; converted 8-bit characters into multibyte string, + ;; but it has been fixed at 2004-01-15. + ;;(replace-match "\\1\r\n")))) (backward-char 1) (insert "\r") (forward-char 1)))) -- 1.7.10.4