Subject: Re: bug#11342: 24.1.50; HOOK variable name in `add-hook' etc. confusing

From: Michael Heerdegen <[email-masked]>
Date: Thu, 26 Apr 2012 23:31:48 +0200

Andreas Schwab <[email-masked]> writes:

> > The manual sometimes calls these values being symbols "hook", and
> > sometimes "hook variable".
>
> * (elisp) Hooks::
>
>     A "hook" is a variable where you can store a function or functions to
>     be called on a particular occasion by an existing program.

File: elisp,  Node: Setting Hooks

 -- Function: add-hook hook function &optional append local
     This function is the handy way to add function FUNCTION to hook
     variable HOOK.

 -- Function: remove-hook hook function &optional local
     This function removes FUNCTION from the hook variable HOOK.

Michael