From 3aa8e8d1dd698c4ec5237069898a8fa1fafd458e Mon Sep 17 00:00:00 2001 From: Markus Braun Date: Tue, 5 Jul 2011 09:35:11 +0200 Subject: [PATCH] Don't use explicit join() in match() calls. --- plugin/gnupg.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 554b706..be82b7b 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -408,7 +408,7 @@ fun s:GPGEncrypt() let recipients=recipients . " -r " . gpgid endfor else - if (match(join(b:GPGOptions, " "), "encrypt") >= 0) + if (match(b:GPGOptions, "encrypt") >= 0) echohl GPGError echom "There are no recipients!!" echom "Please use GPGEditRecipients to correct!!"