From: ueno Date: Thu, 20 Apr 2006 08:21:32 +0000 (+0000) Subject: * epg.el (epg-start-encrypt): RECIPIENTS is now a list of key objects. X-Git-Tag: epgsm-branchpoint~9 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=835203064557e871f746355568a48c056c3a91e9;p=elisp%2Fepg.git * epg.el (epg-start-encrypt): RECIPIENTS is now a list of key objects. --- diff --git a/pgg-epg.el b/pgg-epg.el index 39167da..345cc7c 100644 --- a/pgg-epg.el +++ b/pgg-epg.el @@ -67,9 +67,12 @@ passphrase cache or user." (setq cipher (epg-encrypt-string context (buffer-substring start end) - (if pgg-encrypt-for-me - (cons pgg-default-user-id recipients) - recipients) + (mapcar + (lambda (recipient) + (car (epg-list-keys recipient))) + (if pgg-encrypt-for-me + (cons pgg-default-user-id recipients) + recipients)) sign t) pgg-epg-secret-key-id-list nil) (error