about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Doc/Zsh/params.yo3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d053c39d3..2ee6f406d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-06-14  Peter Stephenson  <pws@csr.com>
 
+	* unposted: Doc/Zsh/params.yo: extra note on ZSH_EVAL_CONTEXT.
+
 	* 28037: Src/exec.c, Src/math.c, Src/module.c,
 	Test/V01zmodload.ztst: improved error messages for autoloading
 	math functions and builtins (but not conditions).
@@ -13289,5 +13291,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5003 $
+* $Revision: 1.5004 $
 *****************************************************
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 817731fb0..b78896020 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -732,6 +732,9 @@ the array to indicate the type of operation that is being performed.
 Read in order the array gives an indication of the stack of
 operations being performed with the most immediate context last.
 
+Note that the variable does not give information on syntactic context such
+as pipelines or subshells.  Use tt($ZSH_SUBSHELL) to detect subshells.
+
 The context is one of the following:
 startitem()
 item(tt(cmdarg))(