about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-02 10:05:55 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-02 10:05:55 +0000
commit097e2d70cdd55b8f8dba9c6724564f78e45529cc (patch)
treef83193a585847595aeb45a319ccca67d1f38fdbb /Doc
parentc41f9e8f8bc4ec7d83d72449b7cdf3131ba85c04 (diff)
downloadzsh-097e2d70cdd55b8f8dba9c6724564f78e45529cc.tar.gz
zsh-097e2d70cdd55b8f8dba9c6724564f78e45529cc.tar.xz
zsh-097e2d70cdd55b8f8dba9c6724564f78e45529cc.zip
zsh-workers/9966
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo7
-rw-r--r--Doc/Zsh/func.yo4
2 files changed, 7 insertions, 4 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 3491c8591..6435078ec 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1304,9 +1304,10 @@ noderef(Functions)
 for a description of how autoloaded functions are searched).
 
 If there is at least one var(function) argument, the wordcode for all
-these functions will be put in the created wordcode var(file). Such
-files containing the code for multiple functions are intended to be
-used as elements of the tt(FPATH)/tt(fpath) special array.
+these functions will be put in the created wordcode var(file) (if that 
+name does not end in tt(.zwc), this extension is automatically
+appended). Such files containing the code for multiple functions are
+intended to be used as elements of the tt(FPATH)/tt(fpath) special array.
 
 If the tt(-U) option is given, aliases in the var(function)s will not
 be expanded. If the tt(-r) option is given, the function(s) in the
diff --git a/Doc/Zsh/func.yo b/Doc/Zsh/func.yo
index 43c063f8c..520af7ec6 100644
--- a/Doc/Zsh/func.yo
+++ b/Doc/Zsh/func.yo
@@ -52,7 +52,9 @@ example(fpath=(~/myfuncs $fpath)
 autoload myfunc1 myfunc2 ...)
 
 The elements of the tt(fpath) array may also name wordcode files
-directly. This is mostly useful for wordcode files containing multiple 
+directly. The names of these files must have the tt(.zwc) extension
+but in tt(fpath) the names may be given with or without it. This is
+mostly useful for wordcode files containing multiple 
 functions, in which case the file is treated like a directory
 containing files for functions and will be searched for the definition 
 of the function.