summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/builtins.yo12
2 files changed, 7 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ed7dcc22..d1a83b4ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-09-30  Barton E. Schaefer  <schaefer@zsh.org>
 
+	* unposted: Doc/Zsh/builtins.yo: update or remove references to
+	typeset behavior obsoleted by 35586.
+
 	* 39509: Src/builtins.c: in the event the current directory has
 	been removed, use chasedots semantics for "cd ..".
 
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index ac4441c64..dfbbaa034 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1918,11 +1918,6 @@ If the tt(-p) option is given, parameters and values are printed in the
 form of a typeset command with an assignment, regardless of other flags
 and options.  Note that the tt(-H) flag on parameters is respected; no
 value will be shown for these parameters.
-
-As the intention of this option is to produce output that can restore
-the current state, readonly specials (whose values cannot be
-changed) are not shown and assignments to arrays are shown before
-the tt(typeset) rendering the array readonly.
 )
 item(tt(-T) [ var(scalar)[tt(=)var(value)] var(array)[tt(=LPAR())var(value) ...tt(RPAR())] [ var(sep) ] ])(
 This flag has a different meaning when used with tt(-f); see below.
@@ -2019,9 +2014,10 @@ place in the output.
 )
 item(tt(-a))(
 The names refer to array parameters.  An array parameter may be
-created this way, but it may not be assigned to in the tt(typeset)
-statement.  When displaying, both normal and associative arrays are
-shown.
+created this way, but it may be assigned to in the tt(typeset)
+statement only if the reserved word form of tt(typeset) is enabled
+(as it is by default).  When displaying, both normal and associative
+arrays are shown.
 )
 item(tt(-f))(
 The names refer to functions rather than parameters.  No assignments