[gnus git] branch master updated: n0-17-256-gc9ed314 =1= Don't use the 4th arg of mm-replace-in-string for compatibility issues.

Daiki Ueno <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  c9ed3140c6b289cd01f61a778d8c1d3721cf9458 (commit)
      from  b7049858dc4463249d94613e05f6044cb5d70d6d (commit)


- Log -----------------------------------------------------------------
commit c9ed3140c6b289cd01f61a778d8c1d3721cf9458
Author: Daiki Ueno <[email protected]>
Date:   Sun Aug 28 07:57:29 2011 +0900

    Don't use the 4th arg of mm-replace-in-string for compatibility issues.
    
    * mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of
    mm-replace-in-string.
    * mml2015.el (mml2015-epg-verify): Ditto.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2e76c64..acfd548 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-08-27  Daiki Ueno  <[email protected]>
+
+	* mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of
+	mm-replace-in-string for compatibility issues.
+	* mml2015.el (mml2015-epg-verify): Ditto.
+
 2011-08-26  Katsumi Yamaoka  <[email protected]>
 
 	* mailcap.el (mailcap-mime-data): Regexp-quote MIME subtype.
diff --git a/lisp/mml-smime.el b/lisp/mml-smime.el
index 43c9160..7a7b3f6 100644
--- a/lisp/mml-smime.el
+++ b/lisp/mml-smime.el
@@ -531,7 +531,7 @@ Content-Disposition: attachment; filename=smime.p7m
 	(mm-set-handle-multipart-parameter
 	 mm-security-handle 'gnus-info "Corrupted")
 	(throw 'error handle))
-      (setq part (mm-replace-in-string part "\n" "\r\n" t)
+      (setq part (mm-replace-in-string part "\n" "\r\n")
 	    context (epg-make-context 'CMS))
       (condition-case error
 	  (setq plain (epg-verify-string context (mm-get-part signature) part))
diff --git a/lisp/mml2015.el b/lisp/mml2015.el
index 7d8a411..b9310be 100644
--- a/lisp/mml2015.el
+++ b/lisp/mml2015.el
@@ -923,7 +923,7 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
 	(mm-set-handle-multipart-parameter
 	 mm-security-handle 'gnus-info "Corrupted")
 	(throw 'error handle))
-      (setq part (mm-replace-in-string part "\n" "\r\n" t)
+      (setq part (mm-replace-in-string part "\n" "\r\n")
 	    signature (mm-get-part signature)
 	    context (epg-make-context))
       (condition-case error

-----------------------------------------------------------------------
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    |    6 ++++++
 lisp/mml-smime.el |    2 +-
 lisp/mml2015.el   |    2 +-
 3 files changed, 8 insertions(+), 2 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.