From 05b1db3387e8c54368e43b5c5169fb7daab25c54 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 14 Mar 2000 11:14:54 +0000 Subject: zsh-workers/10129 --- Doc/Zsh/builtins.yo | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Doc') 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) -- cgit 1.4.1