GNU Info

Info Node: (librep.info)Hooks

(librep.info)Hooks


Next: Files Prev: Streams Up: The language
Enter node , (file) or (file)node

Hooks
=====

   A "hook" allows you to wedge your own pieces of Lisp code into the
operation of other functions, enable the extension of that
functionality. These pieces of code are evaluated via the hook and the
result is available to the hook's caller. One hook has already been
encountered, the `format-hooks-alist' variable (Note: Formatted
Output).

Functions As Hooks
Some hooks are a single function,
Normal Hooks
Others may be a list of pieces of code
to evaluate.

automatically generated by info2www version 1.2.2.9