summaryrefslogtreecommitdiffstats
path: root/runtime/plugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-25 21:58:17 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-25 21:58:17 +0000
commit2641f77fbcbd2dbfd494e940aed7fe0df4760f22 (patch)
tree3243064afaaea82e64f6787113de8c667ad573bf /runtime/plugin
parent68b76a69aa818e4220654244a4353ab43c1ae728 (diff)
updated for version 7.0064v7.0064
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/gzip.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/plugin/gzip.vim b/runtime/plugin/gzip.vim
index 2b9b5238dc..0e9d0f5b8a 100644
--- a/runtime/plugin/gzip.vim
+++ b/runtime/plugin/gzip.vim
@@ -1,6 +1,6 @@
" Vim plugin for editing compressed files.
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2004 Jul 30
+" Last Change: 2005 Mar 24
" Exit quickly when:
" - this plugin was already loaded
@@ -118,7 +118,7 @@ fun s:write(cmd)
" don't do anything if the cmd is not supported
if s:check(a:cmd)
" Rename the file before compressing it.
- let nm = expand("<afile>")
+ let nm = resolve(expand("<afile>"))
let nmt = s:tempname(nm)
if rename(nm, nmt) == 0
call system(a:cmd . " " . nmt)