[gnus git] branch master updated: n0-17-67-gbc1350c =1= mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed mm-with-unibyte-current-buffer. The buffer should not contain any multibyte chars anyway at this stage.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  bc1350c0871a8da4d356861b06020e37692056ef (commit)
      from  3b2dc8dae2bd66be3b7d0a720ea11ad890bde554 (commit)


- Log -----------------------------------------------------------------
commit bc1350c0871a8da4d356861b06020e37692056ef
Author: Stefan Monnier <[email protected]>
Date:   Mon May 30 22:07:14 2011 +0000

    mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed mm-with-unibyte-current-buffer.  The buffer should not contain any multibyte chars anyway at this stage.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b02d9c5..63f02d2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -23,6 +23,12 @@
 
 	* pop3.el (pop3-retr): Error out if the server closes the connection.
 
+2011-05-30  Stefan Monnier  <[email protected]>
+
+	* mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
+	mm-with-unibyte-current-buffer.  The buffer should not contain any
+	multibyte chars anyway at this stage.
+
 2011-05-29  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly
diff --git a/lisp/mml1991.el b/lisp/mml1991.el
index 0ce74b1..a5d7788 100644
--- a/lisp/mml1991.el
+++ b/lisp/mml1991.el
@@ -137,7 +137,6 @@ Whether the passphrase is cached at all is controlled by
     (while (looking-at "^Content[^ ]+:") (forward-line))
     (unless (bobp)
       (delete-region (point-min) (point)))
-    (mm-with-unibyte-current-buffer
       (with-temp-buffer
 	(inline (mm-disable-multibyte))
 	(setq cipher (current-buffer))
@@ -163,7 +162,7 @@ Whether the passphrase is cached at all is controlled by
 	;;(insert "Version: 1\n\n")
 	(insert "\n")
 	(insert-buffer-substring cipher)
-	(goto-char (point-max))))))
+      (goto-char (point-max)))))
 
 ;; pgg wrapper
 

-----------------------------------------------------------------------
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/mml1991.el |   53 ++++++++++++++++++++++++++---------------------------
 2 files changed, 32 insertions(+), 27 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.