about summary refs log tree commit diff
path: root/Doc/Zsh/grammar.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/grammar.yo')
-rw-r--r--Doc/Zsh/grammar.yo5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index d1f3996ef..dd5da93b4 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -287,8 +287,9 @@ example({
 }
 # The error condition has been reset.)
 
-An tt(exit) command encountered in tt(try-list) does em(not) cause the
-execution of var(always-list).  Instead, the shell exits immediately
+An tt(exit) command (or a tt(return) command executed at the outermost
+function level of a script) encountered in tt(try-list) does em(not) cause
+the execution of var(always-list).  Instead, the shell exits immediately
 after any tt(EXIT) trap has been executed.
 )
 findex(function)