* mime-edit.el (mime-edit-sign-pgp-mime): Set pgg-text-mode.
authorueno <ueno>
Tue, 28 Mar 2006 06:06:56 +0000 (06:06 +0000)
committerueno <ueno>
Tue, 28 Mar 2006 06:06:56 +0000 (06:06 +0000)
(mime-edit-encrypt-pgp-mime): Ditto.

ChangeLog
mime-edit.el

index 938fcb7..464a399 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-28  Daiki Ueno  <ueno@unixuser.org>
+
+       * mime-edit.el (mime-edit-sign-pgp-mime): Set pgg-text-mode.
+       (mime-edit-encrypt-pgp-mime): Ditto.
+
 2006-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * mime-edit.el (mime-edit-delete-trailing-whitespace): New
index 0377302..0e79ba6 100644 (file)
@@ -1821,7 +1821,8 @@ Parameter must be '(PROMPT CHOICE1 (CHOICE2...))."
                   (or mime-edit-pgp-user-id
                       (if from 
                           (nth 1 (std11-extract-address-components from))
-                        pgg-default-user-id))))
+                        pgg-default-user-id)))
+                 (pgg-text-mode t))
              (pgg-sign-region (point-min)(point-max)))
            (throw 'mime-edit-error 'pgp-error)
            )
@@ -1912,7 +1913,8 @@ Content-Transfer-Encoding: 7bit
                     (or mime-edit-pgp-user-id
                         (if from 
                             (nth 1 (std11-extract-address-components from))
-                          pgg-default-user-id))))                   
+                          pgg-default-user-id)))
+                   (pgg-text-mode t))
                (pgg-encrypt-region 
                 (point-min) (point-max) 
                 (mapcar (lambda (recipient)