* pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
authorueno <ueno>
Fri, 28 Jul 2006 02:59:23 +0000 (02:59 +0000)
committerueno <ueno>
Fri, 28 Jul 2006 02:59:23 +0000 (02:59 +0000)
give CONTEXT to epg-list-keys.
Thanks to Steve Youngs <steve@sxemacs.org>

ChangeLog
pgg-epg.el

index 4b5817f..983c43b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-28  Daiki Ueno  <ueno@unixuser.org>
+
+       * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
+       give CONTEXT to epg-list-keys.
+       Thanks to Steve Youngs <steve@sxemacs.org>
+
 2006-07-18  Daiki Ueno  <ueno@unixuser.org>
 
        * epg-pgp50i.el (epg-pgp50i--process-filter): Use
index 224535e..055157e 100644 (file)
@@ -80,7 +80,7 @@ passphrase cache or user."
                                  (buffer-substring start end)
                                  (mapcar
                                   (lambda (recipient)
-                                    (car (epg-list-keys recipient)))
+                                    (car (epg-list-keys context recipient)))
                                   (if pgg-encrypt-for-me
                                       (cons pgg-default-user-id recipients)
                                     recipients))