about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-14 11:14:54 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-14 11:14:54 +0000
commit05b1db3387e8c54368e43b5c5169fb7daab25c54 (patch)
treef82d1a236bfe25634666ca2782e398258b3c8c14 /Doc
parente91bdf82c9c7b9589bfd813cd7f571d50090f05b (diff)
downloadzsh-05b1db3387e8c54368e43b5c5169fb7daab25c54.tar.gz
zsh-05b1db3387e8c54368e43b5c5169fb7daab25c54.tar.xz
zsh-05b1db3387e8c54368e43b5c5169fb7daab25c54.zip
zsh-workers/10129
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 95c1cdf42..b0382dcd8 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -76,8 +76,9 @@ which no alias has been defined.
 findex(autoload)
 cindex(functions, autoloading)
 cindex(autoloading functions)
-item(tt(autoload) [ {tt(PLUS())|tt(-)}tt(UXmt) ] [ var(name) ... ])(
-Equivalent to tt(functions -u), with the exception of tt(-X)/tt(+X).
+item(tt(autoload) [ {tt(PLUS())|tt(-)}tt(UXmt) ] [ tt(-w) ] [ var(name) ... ])(
+Equivalent to tt(functions -u), with the exception of tt(-X)/tt(+X)
+and tt(-w).
 
 The flag tt(-X) may be used only inside a shell function, and may not be
 followed by a var(name).  It causes the calling function to be marked for
@@ -93,6 +94,9 @@ This does em(not) replace any existing definition of the function.  The
 exit status is nonzero (failure) if the function was already defined or
 when no definition was found.  In the latter case the function remains
 undefined and marked for autoloading.
+
+With the tt(-w) flag, the var(name)s are taken as names of wordcode
+files and all functions defined in them are marked for autoloading.
 )
 findex(bg)
 cindex(jobs, backgrounding)