changeset 35915:9b90614607d8

runtime(zip): remove test for fnameescape Commit: https://github.com/vim/vim/commit/33836d38b82aa926a2a2b3f945a0139f373f7e56 Author: Christian Brabandt <cb@256bit.org> Date: Mon Aug 5 20:52:50 2024 +0200 runtime(zip): remove test for fnameescape Problem: zip plugin tests for fnameescape() function Solution: Remove the check, fnameescape() has been available since 7.1.299, it should nowadays always be available Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 06 Aug 2024 20:30:06 +0200
parents 6e8147f1b298
children 90e3a4166480
files runtime/autoload/zip.vim
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/autoload/zip.vim
+++ b/runtime/autoload/zip.vim
@@ -87,12 +87,6 @@ fun! zip#Browse(zipfile)
   set report=10
 
   " sanity checks
-  if !exists("*fnameescape")
-   if &verbose > 1
-    echoerr "the zip plugin is not available (your vim doesn't support fnameescape())"
-   endif
-   return
-  endif
   if !executable(g:zip_unzipcmd)
    redraw!
    echohl Error | echomsg "***error*** (zip#Browse) unzip not available on your system"