Don't use explicit join() in match() calls.
This commit is contained in:
parent
96f3901aa0
commit
3aa8e8d1dd
@ -408,7 +408,7 @@ fun s:GPGEncrypt()
|
|||||||
let recipients=recipients . " -r " . gpgid
|
let recipients=recipients . " -r " . gpgid
|
||||||
endfor
|
endfor
|
||||||
else
|
else
|
||||||
if (match(join(b:GPGOptions, " "), "encrypt") >= 0)
|
if (match(b:GPGOptions, "encrypt") >= 0)
|
||||||
echohl GPGError
|
echohl GPGError
|
||||||
echom "There are no recipients!!"
|
echom "There are no recipients!!"
|
||||||
echom "Please use GPGEditRecipients to correct!!"
|
echom "Please use GPGEditRecipients to correct!!"
|
||||||
|
Loading…
Reference in New Issue
Block a user