[gnus git] branch master updated: n0-17-327-g806ccd8 =1= * mml.el (mml-generate-mime-1): Don't alter the contents if we're computing the boundary.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  806ccd896de59c1765195883cebd8f4cee1702b0 (commit)
      from  9b76297dc5bbd9a2c03fb48fcbd2d3f0ae9d6dda (commit)


- Log -----------------------------------------------------------------
commit 806ccd896de59c1765195883cebd8f4cee1702b0
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Sep 26 22:29:35 2011 +0200

    * mml.el (mml-generate-mime-1): Don't alter the contents if we're computing the boundary.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 67a09ae..f23bad7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-26  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* mml.el (mml-generate-mime-1): Don't alter the contents if we're
+	computing the boundary.
+
 2011-09-22  Kan-Ru Chen  <[email protected]>
 
 	* ecomplete.el (ecomplete-display-matches): Use a local keymap to
diff --git a/lisp/mml.el b/lisp/mml.el
index d986139..0d2ae2a 100644
--- a/lisp/mml.el
+++ b/lisp/mml.el
@@ -540,7 +540,8 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
 		      (mml-to-mime)
 		      ;; Update handle so mml-compute-boundary can
 		      ;; detect collisions with the nested parts.
-		      (setcdr (assoc 'contents cont) (buffer-string)))
+		      (unless mml-inhibit-compute-boundary
+			(setcdr (assoc 'contents cont) (buffer-string))))
 		    (let ((mm-7bit-chars (concat mm-7bit-chars "\x1b")))
 		      ;; ignore 0x1b, it is part of iso-2022-jp
 		      (setq encoding (mm-body-7-or-8))))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/mml.el    |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.