emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remove-hook creates a symbol if it doesn't exist


From: Stefan Monnier
Subject: Re: remove-hook creates a symbol if it doesn't exist
Date: Tue, 21 Oct 2008 18:13:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> The function remove-hook creates a symbol if its HOOK arg doesn't exist
> as such:

> (remove-hook 'non-existent-hook 'some-function)


> ,-----[ C-h v non-existent-hook RET ]
> | non-existent-hook's value is nil
> | 
> | Documentation:
> | Not documented as a variable.
> | 
> | [back]
> `-----

Indeed.  Any other piece of trivia you want to share with us?


        Stefan


PS: I don't consider the above as a bug.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]