Copyright (C) 2000-2012 |
GNU Info (librep.info)Functions As HooksFunctions As Hooks ------------------ Some hooks only allow a single piece of code to be hooked in. Usually a normally-undefined function is used; to install your hook defined a function with the name of the hook. When the hook is to be evaluated the function is called. Generally the name of the hook's function will end in `-function'. An alternative scheme is to use a variable to store the hook, its value should be the function to call. automatically generated by info2www version 1.2.2.9 |