summaryrefslogtreecommitdiff
path: root/lisp/epa-mail.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/epa-mail.el')
-rw-r--r--lisp/epa-mail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/epa-mail.el b/lisp/epa-mail.el
index bed0c065aea..b9dd437ed12 100644
--- a/lisp/epa-mail.el
+++ b/lisp/epa-mail.el
@@ -219,7 +219,7 @@ If no one is selected, symmetric encryption will be performed. "
(epa-mail--find-usable-key
(epg-list-keys
(epg-make-context epa-protocol)
- (if (string-match "@" recipient)
+ (if (string-search "@" recipient)
(concat "<" recipient ">")
recipient))
'encrypt)))