about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-02 19:04:35 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-02 19:04:35 +0000
commit4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c (patch)
treeb8bd09e2cd10146e8a048fd74e33db3dcf4baec8 /Doc
parentf5d7af2912a510edcb0652bd7fe3578290f7f642 (diff)
downloadzsh-4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c.tar.gz
zsh-4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c.tar.xz
zsh-4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c.zip
Fix docs for TRAPNAL function return
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/func.yo5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/Zsh/func.yo b/Doc/Zsh/func.yo
index 2f6445873..f596afef5 100644
--- a/Doc/Zsh/func.yo
+++ b/Doc/Zsh/func.yo
@@ -196,9 +196,8 @@ the shell and processes spawned by it will ignore tt(SIG)var(NAL).
 
 The return status from the function is handled specially.  If it is
 zero, the signal is assumed to have been handled, and execution continues
-normally.  Otherwise, the normal effect of the signal is produced;
-if this causes execution to terminate, the status returned to the shell is
-the status returned from the function.
+normally.  Otherwise, the shell will behave as interrupted except that
+the return status of the trap is retained.
 
 Programs terminated by uncaught signals typically return the status 128
 plus the signal number.  Hence the following causes the handler for