Stefan Kangas <stefankan...@gmail.com> writes:

> Stefan Kangas <stefankan...@gmail.com> 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.

I like that, adjusted maybe to respect Stefan M's nitpick:

If HOOK's value is a list of functions, remove FUNCTION from that list.
If HOOK's value is FUNCTION, set HOOK to nil.
Otherwise do nothing.




  • bug#72915:... Tomas Nordin
    • bug#7... Stefan Kangas
    • bug#7... Eli Zaretskii
      • b... Stefan Kangas
        • ... Stefan Kangas
          • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
          • ... Tomas Nordin
      • b... Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply via email to