about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-16 00:39:55 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-16 00:39:55 +0000
commit2d44a00df196bcd2dc36a60f775b09af0a7d0bb9 (patch)
tree0bb9b2ecf54865f12d07450af2ce92ddda2dc32f /Doc
parente0e7f200809abacdab96ecbf73eea29efbcd06ba (diff)
downloadzsh-2d44a00df196bcd2dc36a60f775b09af0a7d0bb9.tar.gz
zsh-2d44a00df196bcd2dc36a60f775b09af0a7d0bb9.tar.xz
zsh-2d44a00df196bcd2dc36a60f775b09af0a7d0bb9.zip
zsh-workers/10149
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo14
1 files changed, 12 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 848f930f6..f185d865d 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1295,8 +1295,8 @@ Equivalent to tt(whence -c).
 findex(zcompile)
 cindex(wordcode, creation)
 cindex(compilation)
-xitem(tt(zcompile) [ tt(-U) ] [ tt(-r) | tt(-m) ] var(file) [ var(name) ... ])
-xitem(tt(zcompile) tt(-c) [ tt(-M) ] [ tt(-r) | tt(-m) ] var(file) [ var(name) ... ])
+xitem(tt(zcompile) [ tt(-U) ] [ tt(-z) | tt(-k) ] [ tt(-r) | tt(-m) ] var(file) [ var(name) ... ])
+xitem(tt(zcompile) tt(-c) [ tt(-M) ] [ tt(-z) | tt(-k) ] [ tt(-r) | tt(-m) ] var(file) [ var(name) ... ])
 item(tt(zcompile -t) var(file) [ var(name) ... ])(
 This builtin command can be used to create and display files
 containing the wordcode for functions or scripts. In the first form, a wordcode
@@ -1332,6 +1332,16 @@ map wordcode files into memory. On such systems, the wordcode will
 only be read from the file, independent on the mode selected when the 
 file was created.
 
+The tt(-z) and tt(-k) options are used when the wordcode file contains
+functions and these functions are autoloaded. If tt(-z) is given, the
+function will be autoloaded as if the tt(KSHAUTOLOAD) option weren't
+set, even if it is. The tt(-k) makes the function be loaded as if
+tt(KASHAUTOLOAD) were set and if neither of these options is given,
+the function will be loaded as determined by the setting of the
+tt(KSHAUTOLOAD) option at the time the function is loaded. These
+options may also be given in the lists of var(name)s and make all
+following functions be loaded as described.
+
 When creating wordcode files for scripts instead of functions, it is
 often better to use the tt(-r) option. Otherwise the whole wordcode
 file will remain mapped if the script defined one or more functions