emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99711: Use correct coding system


From: Andreas Schwab
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99711: Use correct coding system when verifying a pgp signed message
Date: Thu, 01 Apr 2010 17:34:05 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99711
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Thu 2010-04-01 17:34:05 +0200
message:
  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.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/mm-uu.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-03-29 10:16:23 +0000
+++ b/lisp/gnus/ChangeLog       2010-04-01 15:34:05 +0000
@@ -1,3 +1,8 @@
+2010-04-01  Andreas Schwab  <address@hidden>
+
+       * mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
+       if set.
+
 2010-03-29  Katsumi Yamaoka  <address@hidden>
 
        * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.

=== modified file 'lisp/gnus/mm-uu.el'
--- a/lisp/gnus/mm-uu.el        2010-01-13 08:35:10 +0000
+++ b/lisp/gnus/mm-uu.el        2010-04-01 15:34:05 +0000
@@ -486,9 +486,11 @@
       (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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]