[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.1.285-102-g837ef05

James Vega jamessan at debian.org
Sun Jun 22 20:12:59 UTC 2008


The following commit has been merged in the deb/runtime branch:
commit 837ef05fcb4687dde40c8913b25aa7d1c35e68cf
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