Merge pull request #6 from matt-garman/patch-1

copy() g:GPGDefaultRecipients to b:GPGRecipients
This commit is contained in:
James McCoy 2013-02-05 10:06:41 -08:00
commit 91442de02e

View File

@ -374,7 +374,7 @@ function s:GPGDecrypt(bufread)
let filename = expand("<afile>:p")
" clear GPGRecipients and GPGOptions
let b:GPGRecipients = g:GPGDefaultRecipients
let b:GPGRecipients = copy(g:GPGDefaultRecipients)
let b:GPGOptions = []
" File doesn't exist yet, so nothing to decrypt