about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-09-19 23:06:55 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-09-19 23:06:55 -0700
commitbdcdb562d97f7ed604ead37ccda52792dff9a93f (patch)
treefc8db4a6df5e6c69093aa3972b94522c9bac35a1
parente61717b6061e77b582313ffc883f40bc5e11ae70 (diff)
downloadzsh-bdcdb562d97f7ed604ead37ccda52792dff9a93f.tar.gz
zsh-bdcdb562d97f7ed604ead37ccda52792dff9a93f.tar.xz
zsh-bdcdb562d97f7ed604ead37ccda52792dff9a93f.zip
cf. users/20606: zcompile prepares scripts for sourcing, not for execution
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/builtins.yo2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 70407ca50..74226a8f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-09-19  Barton E. Schaefer  <schaefer@zsh.org>
 
+	* unposted: Doc/Zsh/builtins.yo: zcompile prepares scripts for
+	sourcing, not for execution
+
 	* 36566: Src/parse.c: check for regular file before lseek()
 
 	* 36562: Src/utils.c: sanitize $PWD on import, per POSIX
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 67e3131cb..97c337071 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -2321,7 +2321,7 @@ item(tt(zcompile -t) var(file) [ var(name) ... ])(
 This builtin command can be used to compile functions or scripts,
 storing the compiled form in a file, and to examine files containing
 the compiled form.  This allows faster autoloading of functions and
-execution of scripts by avoiding parsing of the text when the files
+sourcing of scripts by avoiding parsing of the text when the files
 are read.
 
 The first form (without the tt(-c), tt(-a) or tt(-t) options) creates a