about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-06-14 11:58:26 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-06-14 11:58:26 +0000
commit4c1a3a89f0ade5be2330ce688cd3c3c649667f9a (patch)
tree9f5a526084bc74a5aef8fc32412153d3251334c0
parente6f14352d61721db83b46e0e56c4d19b731fed95 (diff)
downloadzsh-4c1a3a89f0ade5be2330ce688cd3c3c649667f9a.tar.gz
zsh-4c1a3a89f0ade5be2330ce688cd3c3c649667f9a.tar.xz
zsh-4c1a3a89f0ade5be2330ce688cd3c3c649667f9a.zip
unposted: extra note on ZSH_EVAL_CONTEXT
-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))(