From f8b0dee88051065d4667fe41dd1bc81905c2b07c Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 24 Nov 1999 16:20:58 +0000 Subject: zsh-workers/8770 --- Etc/zsh-development-guide | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Etc') 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. -- cgit 1.4.1