]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Rename NoDefaultCurrentDirectoryInExePath tag
authorDoug Kearns <dougkearns@gmail.com>
Thu, 11 Dec 2025 19:33:51 +0000 (20:33 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 11 Dec 2025 19:33:51 +0000 (20:33 +0100)
- Add leading "$" to match other environment variable tags.
- Clarify :help $NoDefaultCurrentDirectoryInExePath.

closes: #18895

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt
runtime/doc/tags
runtime/doc/version9.txt

index 1190300cc5b6ef92d7eba4867f89c4a4d057dc8f..3ac3d8a33e1f466e61735f5955a976d0a8002a38 100644 (file)
@@ -1,4 +1,4 @@
-*builtin.txt*  For Vim version 9.1.  Last change: 2025 Dec 06
+*builtin.txt*  For Vim version 9.1.  Last change: 2025 Dec 10
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2715,13 +2715,14 @@ executable({expr})                                      *executable()*
                On MS-Windows an executable in the same directory as the Vim
                executable is always found.  Since this directory is added to
                $PATH it should also work to execute it |win32-PATH|.
-                                       *NoDefaultCurrentDirectoryInExePath*
+                                       *$NoDefaultCurrentDirectoryInExePath*
                On MS-Windows when using cmd.exe as 'shell' an executable in
                Vim's current working directory is also normally found, which
                can be disabled by setting the
                `$NoDefaultCurrentDirectoryInExePath` environment variable.
-               This is always done when executing external commands using
-               e.g. |:!|, |:make|, |system()| for security reasons.
+               This variable is always set by Vim when executing external
+               commands (e.g., via |:!|, |:make|, or |system()|) for security
+               reasons.
 
                The result is a Number:
                        1       exists
index 441d8b4138d338e4b0808389c18d01c6934797f2..bc900fdf219d1fb6f93bf56394f26fa49f36be58 100644 (file)
@@ -9,6 +9,7 @@ $HOME-windows   options.txt     /*$HOME-windows*
 $MYGVIMRC      gui.txt /*$MYGVIMRC*
 $MYVIMDIR      starting.txt    /*$MYVIMDIR*
 $MYVIMRC       starting.txt    /*$MYVIMRC*
+$NoDefaultCurrentDirectoryInExePath    builtin.txt     /*$NoDefaultCurrentDirectoryInExePath*
 $VIM   starting.txt    /*$VIM*
 $VIM-use       version5.txt    /*$VIM-use*
 $VIMRUNTIME    starting.txt    /*$VIMRUNTIME*
@@ -5777,7 +5778,6 @@ Neovim    intro.txt       /*Neovim*
 NetBSD-backspace       options.txt     /*NetBSD-backspace*
 NetBeans       netbeans.txt    /*NetBeans*
 NetUserPass()  pi_netrw.txt    /*NetUserPass()*
-NoDefaultCurrentDirectoryInExePath     builtin.txt     /*NoDefaultCurrentDirectoryInExePath*
 None   eval.txt        /*None*
 Normal intro.txt       /*Normal*
 Normal-mode    intro.txt       /*Normal-mode*
index e4073627cca6cda7ef4fcce3b17b6c357b8004eb..a736370f0b5bcda1ad42d9d52590773d8d7d2bdd 100644 (file)
@@ -1,4 +1,4 @@
-*version9.txt* For Vim version 9.1.  Last change: 2025 Dec 09
+*version9.txt* For Vim version 9.1.  Last change: 2025 Dec 10
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -41758,8 +41758,8 @@ Platform specific ~
 - MS-Windows: The title bar follows the |hl-TitleBar| and |hl-TitleBarNC|
   highlighting group |gui-w32-title-bar|.
 - MS-Windows: Vim no longer searches the current directory for
-  executables when running external commands; use a relative or absolute path
-  if you want the previous behavior |NoDefaultCurrentDirectoryInExePath|.
+  executables when running external commands; prefix a relative or absolute
+  path if you want the old behavior |$NoDefaultCurrentDirectoryInExePath|.
 - macOS: increase default scheduler priority to TASK_DEFAULT_APPLICATION.
 
 Others: ~