runtime(doc): Rename NoDefaultCurrentDirectoryInExePath tag
Commit:
https://github.com/vim/vim/commit/bfb9f5c40ea5dd07fc0747c5ffd44d5b32dbcf62
Author: Doug Kearns <[email protected]>
Date: Thu Dec 11 20:33:51 2025 +0100
runtime(doc): Rename NoDefaultCurrentDirectoryInExePath tag
- Add leading "$" to match other environment variable tags.
- Clarify :help $NoDefaultCurrentDirectoryInExePath.
closes: #18895
Signed-off-by: Doug Kearns <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 1190300cc..3ac3d8a33 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 441d8b413..bc900fdf2 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 e4073627c..a736370f0 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: ~
--
--
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/E1vTmb3-00AE9S-5W%40256bit.org.