runtime(zip): remove test for fnameescape

Commit: 
https://github.com/vim/vim/commit/33836d38b82aa926a2a2b3f945a0139f373f7e56
Author: Christian Brabandt <c...@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 <c...@256bit.org>

diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim
index d22e2e014..cf7013518 100644
--- 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"

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1sbOwg-001kDQ-9T%40256bit.org.

Raspunde prin e-mail lui