[SCM] Vim packaging branch, maint/lenny, updated. debian/7.1.314-3-51-g209709e
James Vega
jamessan at debian.org
Sun Oct 12 06:29:03 UTC 2008
The following commit has been merged in the maint/lenny branch:
commit d5b35b4e11806b04932a969299297b842b28c691
Author: James Vega <jamessan at debian.org>
Date: Sun Jun 22 16:12:28 2008 -0400
Fix a check for whether the shellescape function exists.
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim
index 5842741..dc5ed42 100644
--- a/runtime/autoload/zip.vim
+++ b/runtime/autoload/zip.vim
@@ -323,7 +323,7 @@ endfun
" QuoteFileDir: {{{2
fun! s:QuoteFileDir(fname)
" call Dfunc("QuoteFileDir(fname<".a:fname.">)")
- if has("*shellescape")
+ if exists("*shellescape")
let qnameq= shellescape(a:fname)
else
let qnameq= g:zip_shq.escape(a:fname,g:zip_shq).g:zip_shq
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list