summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/mod_mapfile.yo5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d818348b4..e1223aa1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-19  Peter Stephenson  <pws@csr.com>
+
+	* Unposted, but see users/13251: Doc/Zsh/mod_mapfile.yo: update
+	users/13239.
+
 2008-09-18  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 25690: Src/Zle/zle_hist.c: fix insertlastword not to
diff --git a/Doc/Zsh/mod_mapfile.yo b/Doc/Zsh/mod_mapfile.yo
index 9a46ff895..98114aea2 100644
--- a/Doc/Zsh/mod_mapfile.yo
+++ b/Doc/Zsh/mod_mapfile.yo
@@ -27,7 +27,10 @@ The parameter tt(mapfile) may be made read-only; in that case, files
 referenced may not be written or deleted.
 
 A file may conveniently be read into an array as one line per element
-with the form `var(array)tt(=LPAR()${(f)mapfile[)var(filename)tt(]RPAR())'.
+with the form
+`var(array)tt(=LPAR()"${(f)mapfile[)var(filename)tt(]}"RPAR())'.
+The double quotes are necessary to prevent empty lines from being
+removed.
 )
 enditem()