From 5603c1513cb7f899895c1b61d4f5582ea6919753 Mon Sep 17 00:00:00 2001 From: hmurata Date: Sat, 2 Dec 2006 12:43:44 +0000 Subject: [PATCH] (mime-edit-process-multipart-1): Don't insert a text tag if a multipart end tag is followed. --- ChangeLog | 5 +++++ mime-edit.el | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index bbdb4d4..1672b0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-02 Hiroya Murata + + * mime-edit.el (mime-edit-process-multipart-1): Don't insert a + text tag if a multipart end tag is followed. + 2006-06-23 Hiroya Murata * mime-view.el (mime-calist::field-match-method-ignore-case): diff --git a/mime-edit.el b/mime-edit.el index 0e79ba6..26938e9 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -1733,6 +1733,7 @@ Parameter must be '(PROMPT CHOICE1 (CHOICE2...))." ) (delete-region beg end) (or (looking-at mime-edit-beginning-tag-regexp) + (looking-at mime-edit-multipart-end-regexp) (eobp) (insert (concat (mime-make-text-tag) "\n")) ))) -- 1.7.10.4