From: ueno Date: Fri, 9 Jun 2000 09:46:47 +0000 (+0000) Subject: * mime-edit.el (mime-edit-insert-key): Insert a text tag when X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b2cefd53cf747b0845a1daaf4f8239ce55733baf;p=elisp%2Fsemi.git * mime-edit.el (mime-edit-insert-key): Insert a text tag when the buffer has any trailing text. --- diff --git a/ChangeLog b/ChangeLog index 79b22e4..fd4c5ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-06-09 Daiki Ueno + + * mime-edit.el (mime-edit-insert-key): Insert a text tag when + the buffer has any trailing text. + 2000-06-05 Shugo Maeda * pgg-gpg.el (pgg-scheme-insert-key): Don't quote user id. diff --git a/mime-edit.el b/mime-edit.el index bf2b552..19065df 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -2464,7 +2464,9 @@ and insert data encoded as ENCODING." (mime-edit-insert-tag "application" "pgp-keys") (mime-edit-define-encoding "7bit") (pgg-insert-key) - ) + (if (and (not (eobp)) + (not (looking-at mime-edit-single-part-tag-regexp))) + (insert (mime-make-text-tag) "\n"))) ;;; @ flag setting