From 9e51292273f042ba1a3a7630c8557c2208ef9241 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 12 Feb 2009 09:56:25 +0000 Subject: 26560: document autoload -z/-k (finally) --- ChangeLog | 6 +++++- Doc/Zsh/builtins.yo | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 20cf6ea4d..6448681aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-02-12 Peter Stephenson + + * 26560: Doc/Zsh/builtins.yo: document autoload -z/-k (finally). + 2009-02-11 Peter Stephenson * 26556: Doc/Zsh/builtins.yo: documentation for 26546. @@ -11167,5 +11171,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4563 $ +* $Revision: 1.4564 $ ***************************************************** diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 1d74d7f49..d08e3bd90 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -131,6 +131,11 @@ ksh autoloading behaviour on the first call to the function. With the tt(-w) flag, the var(name)s are taken as names of files compiled with the tt(zcompile) builtin, and all functions defined in them are marked for autoloading. + +The flags tt(-z) and tt(-k) mark the function to be autoloaded in +native or ksh emulation, as if the option tt(KSH_AUTOLOAD) were +unset or were set, respectively. The flags override the setting of +the option at the time the function is loaded. ) findex(bg) cindex(jobs, backgrounding) -- cgit 1.4.1