diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2022-06-07 10:02:14 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2022-06-07 10:02:14 +0100 |
commit | b26b6b3fe00b94a2d4370b1afd2644034947b6b8 (patch) | |
tree | d29604d25defe18200cfe049d0042efd7643a865 /Doc | |
parent | a99f96797f5fc424554a94313dfc0d4a5b0923a1 (diff) | |
download | zsh-b26b6b3fe00b94a2d4370b1afd2644034947b6b8.tar.gz zsh-b26b6b3fe00b94a2d4370b1afd2644034947b6b8.tar.xz zsh-b26b6b3fe00b94a2d4370b1afd2644034947b6b8.zip |
Tweaks to MULTI_FUNC_DEF
Output multiple function definitions using "function" form. Note exceptions to errors with NO_MULTI_FUNC_DEF
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/options.yo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 5e673eb5c..bf73664c9 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1884,6 +1884,11 @@ fn2)var(...)tt(LPAR()RPAR())'; if the option is not set, this causes a parse error. Definition of multiple functions with the tt(function) keyword is always allowed. Multiple function definitions are not often used and can cause obscure errors. + +Note that no error is raised if multiple functions are defined as a +result of a set of names that were originally read as a single word on +the command line, for example `tt(TRAP{INT,QUIT})'. Although there are +no plans to change this behaviour at present, it is not guaranteed. ) pindex(MULTIOS) pindex(NO_MULTIOS) |