diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 0b6c3f2..f74ea25 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -1,5 +1,5 @@ " Name: gnupg.vim -" Last Change: 2011 Aug 13 +" Last Change: 2011 Oct 18 " Maintainer: James Vega " Original Author: Markus Braun " Summary: Vim plugin for transparent editing of gpg encrypted files. @@ -573,7 +573,7 @@ function s:GPGEncrypt() return endif - call rename(destfile, expand('')) + call rename(destfile, resolve(expand(''))) setl nomodified call s:GPGDebug(3, "<<<<<<<< Leaving s:GPGEncrypt()") endfunction