diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-24 16:20:58 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-24 16:20:58 +0000 |
commit | f8b0dee88051065d4667fe41dd1bc81905c2b07c (patch) | |
tree | d305a5589d775d1fa38f7486a2b58bfc567d9379 /Etc/zsh-development-guide | |
parent | f853592fa0e6dc1246c8c23932bbd3265e537728 (diff) | |
download | zsh-f8b0dee88051065d4667fe41dd1bc81905c2b07c.tar.gz zsh-f8b0dee88051065d4667fe41dd1bc81905c2b07c.tar.xz zsh-f8b0dee88051065d4667fe41dd1bc81905c2b07c.zip |
zsh-workers/8770
Diffstat (limited to 'Etc/zsh-development-guide')
-rw-r--r-- | Etc/zsh-development-guide | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide index 7223af07b..fa0ad8e76 100644 --- a/Etc/zsh-development-guide +++ b/Etc/zsh-development-guide @@ -151,9 +151,7 @@ The third one, named `cleanup_foo' for module `foo' is called when the user tries to unload a module and should de-register the builtins etc. The last function, `finish_foo' is called when the module is actually unloaded and should finalize all the data initialized in the -`setup'-function. Since the last two functions are only executed when -the module is used as an dynamically loaded module you can surround -it with `#ifdef MODULE' and `#endif'. +`setup'-function. In short, the `cleanup'-function should undo what the `boot'-function did, and the `finish'-function should undo what the `setup'-function did. |