runtime(doc): Update wrong shellescape() example

Commit: 
https://github.com/vim/vim/commit/44a1a6a33171ee34dddccf5236c38791fb489dfc
Author: Christian Brabandt <[email protected]>
Date:   Thu May 21 20:15:59 2026 +0000

    runtime(doc): Update wrong shellescape() example
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index e60a557df..761dba1c6 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt*  For Vim version 9.2.  Last change: 2026 Apr 27
+*various.txt*  For Vim version 9.2.  Last change: 2026 May 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -296,7 +296,7 @@ g8                  Print the hex values of the bytes used 
in the
                        name does not contain a single quote: >
                                :!ls '%'
 <                      This should always work, but it's more typing: >
-                               :exe "!ls " .. shellescape(expand("%"))
+                               :exe "!ls " .. shellescape(expand("%"),1)
 <                      To get a literal "%" or "#" prepend it with a
                        backslash.  For example, to list all files starting
                        with "%": >

-- 
-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1wQA1s-00GyiK-G3%40256bit.org.

Raspunde prin e-mail lui