1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

unposted: document effect of 32479 on POSIX_TRAPS

This commit is contained in:
Peter Stephenson 2014-03-14 19:41:18 +00:00
parent 458e66574b
commit 6ebb9f6a31
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2014-03-14 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Doc/Zsh/options.yo: document effect of 32479.
* Jun T: 32482: Doc/zman.yo: fix character translation table
usage with some versions of Yodl.

View file

@ -2037,7 +2037,10 @@ When the is option is set, the usual zsh behaviour of executing
traps for tt(EXIT) on exit from shell functions is suppressed.
In that case, manipulating tt(EXIT) traps always alters the global
trap for exiting the shell; the tt(LOCAL_TRAPS) option is
ignored for the tt(EXIT) trap.
ignored for the tt(EXIT) trap. Furthermore, a tt(return) statement
executed in a trap with no argument passes back from the function the
value from the surrounding context, not from code executed within the
trap.
)
pindex(SH_FILE_EXPANSION)
pindex(NO_SH_FILE_EXPANSION)