From: Doug Kearns Date: Thu, 11 Dec 2025 19:33:51 +0000 (+0100) Subject: runtime(doc): Rename NoDefaultCurrentDirectoryInExePath tag X-Git-Tag: v9.1.1970~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfb9f5c40ea5dd07fc0747c5ffd44d5b32dbcf62;p=thirdparty%2Fvim.git runtime(doc): Rename NoDefaultCurrentDirectoryInExePath tag - Add leading "$" to match other environment variable tags. - Clarify :help $NoDefaultCurrentDirectoryInExePath. closes: #18895 Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 1190300cc5..3ac3d8a33e 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -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 diff --git a/runtime/doc/tags b/runtime/doc/tags index 441d8b4138..bc900fdf21 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -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* diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt index e4073627cc..a736370f0b 100644 --- a/runtime/doc/version9.txt +++ b/runtime/doc/version9.txt @@ -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: ~