Subject: Re: bug#72915: Docstrings of add-hook and remove-hook improvement?

From: Stefan Kangas <[email-masked]>
Date: Sun, 1 Sep 2024 00:18:38 -0700

Stefan Kangas <[email-masked]> writes:

> 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.