about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-25 10:07:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-25 10:07:12 +0000
commit83b0fd36740bd78d6058be58115ff688796a922a (patch)
tree38c3265238a2d0c8d87998d4442f981c78a4f31f /Doc
parent8de7436fc07454e2f5307c00ad99ee19d0baf853 (diff)
downloadzsh-83b0fd36740bd78d6058be58115ff688796a922a.tar.gz
zsh-83b0fd36740bd78d6058be58115ff688796a922a.tar.xz
zsh-83b0fd36740bd78d6058be58115ff688796a922a.zip
19682: Don't run ZERR, DEBUG or EXIT traps inside other traps.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 3f6f3c450..363115297 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1116,6 +1116,8 @@ If var(sig) is tt(0) or tt(EXIT)
 and the tt(trap) statement is not executed inside the body of a function,
 then the command var(arg) is executed when the shell terminates.
 
+tt(ZERR), tt(DEBUG) and tt(EXIT) traps are not executed inside other traps.
+
 The tt(trap) command with no arguments prints a list of commands
 associated with each signal.