* epa-mail.el (epa-mail-encrypt): Handle local-part only
recipients (Bug#7280).
+2010-10-26 Daiki Ueno <ueno@unixuser.org>
+
+ * epa-mail.el (epa-mail-encrypt): Handle local-part only
+ recipients (Bug#7280).
+
2010-10-25 Glenn Morris <rgm@gnu.org>
* term/common-win.el (x-handle-switch): Simplify with pop.
(epa-mail--find-usable-key
(epg-list-keys
(epg-make-context epa-protocol)
- (concat "<" recipient ">"))
+ (if (string-match "@" recipient)
+ (concat "<" recipient ">")
+ recipient))
'encrypt))
(unless (or recipient-key
(y-or-n-p