summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-02-13 16:34:27 +0000
committerPeter Stephenson <pws@zsh.org>2017-02-13 16:34:27 +0000
commitd8c66e65a29d1b1bd8ce11b7caf270b7f6b6cee5 (patch)
tree63441a9c7cefcd1e5a7f3c98e83cc0672eecfc6d /Doc
parentf5272bccd873e7df4cd63f13ee0e880cf832507e (diff)
downloadzsh-d8c66e65a29d1b1bd8ce11b7caf270b7f6b6cee5.tar.gz
zsh-d8c66e65a29d1b1bd8ce11b7caf270b7f6b6cee5.tar.xz
zsh-d8c66e65a29d1b1bd8ce11b7caf270b7f6b6cee5.zip
40537: Document previous change to autoload
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 0a9021cb0..bdd1ad1bb 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -159,7 +159,10 @@ load from the file given (searching as usual for dump files in the given
 location).  The name of the function is the basename (non-directory
 part) of the file.  It is normally an error if the function is not found
 in the given location; however, if the option tt(-d) is given, searching
-for the function defaults to tt($fpath).
+for the function defaults to tt($fpath).  If a function is loaded by
+absolute path, any functions loaded from it that are marked for
+tt(autoload) without an absolute path have the load path of the parent
+function temporarily prepended to tt($fpath).
 
 If the option tt(-r) or tt(-R) is given, the function is searched for
 immediately and the location is recorded internally for use when the