Use correct coding system when verifying a pgp signed message

* mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
if set.
This commit is contained in:
Andreas Schwab 2010-04-01 17:34:05 +02:00
parent 8a14dec7ef
commit d7b4879190
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-04-01 Andreas Schwab <schwab@linux-m68k.org>
* mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
if set.
2010-03-29 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.

View file

@ -486,9 +486,11 @@ apply the face `mm-uu-extract'."
(if (mm-uu-pgp-signed-test)
(progn
(mml2015-clean-buffer)
(let ((coding-system-for-write (or gnus-newsgroup-charset
(let ((coding-system-for-write (or buffer-file-coding-system
gnus-newsgroup-charset
'iso-8859-1))
(coding-system-for-read (or gnus-newsgroup-charset
(coding-system-for-read (or buffer-file-coding-system
gnus-newsgroup-charset
'iso-8859-1)))
(funcall (mml2015-clear-verify-function))))
(when (and mml2015-use (null (mml2015-clear-verify-function)))