>> The wording in the manual is probably all that is needed here: >> >> This function removes FUNCTION from the hook variable HOOK. > > BTW. Here's another idea: > > If HOOK is a list of functions, remove FUNCTION from that list. > > If HOOK is equal to FUNCTION, set HOOK to nil. > > Otherwise do nothing.
Nit pick: a hook *is* not a function or a list of functions. It only *holds* such things. Stefan