about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--NEWS6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 01f1eeb4e..429a258ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-20  Bart Schaefer  <schaefer@zsh.org>
+
+	* 48638: NEWS: mention TYPESET_TO_UNSET
+
 2021-04-20  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 48435 (tweaked): Doc/Zsh/contrib.yo, Misc/vcs_info-examples:
diff --git a/NEWS b/NEWS
index cf270ff51..ee97868f9 100644
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,12 @@ widgets.  This corresponds to long-standing behavior of other user ZLE
 widgets.  Use the _complete_debug widget to capture XTRACE output, or
 use "functions -T" to enable tracing of specific completion functions.
 
+With the new TYPESET_TO_UNSET option set, "typeset foo" leaves foo unset,
+in contrast to the default behavior which assigns foo="".  Any parameter
+attributes such as numeric type, sorting, and padding are retained until
+the parameter is explicitly unset or a conflicting value is assigned.
+This is similar to default behavior of bash and ksh.
+
 Changes from 5.7.1-test-3 to 5.8
 --------------------------------