branch: externals/autocrypt
commit b2c8d431f89788d1e01d42c55e65612e6fc11b44
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>
Fix assoc usage
---
autocrypt.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autocrypt.el b/autocrypt.el
index 2fee6a00cc..466162276b 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -406,7 +406,7 @@ preference (\"prefer-encrypt\")."
((setq acc (assoc addr autocrypt-accounts))
(setq keydata (autocrypt-get-keydata acc)
pref (caddr acc)))
- ((setq peer (assoc addr autocrypt-peers))
+ ((setq peer (cdr (assoc addr autocrypt-peers)))
(setq keydata (autocrypt-peer-pubkey peer)
pref (autocrypt-peer-preference peer))))
(when (and (not (and peer (autocrypt-peer-deactivated peer)))