From 835203064557e871f746355568a48c056c3a91e9 Mon Sep 17 00:00:00 2001 From: ueno Date: Thu, 20 Apr 2006 08:21:32 +0000 Subject: [PATCH] * epg.el (epg-start-encrypt): RECIPIENTS is now a list of key objects. --- pgg-epg.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 1.7.10.4