emacs-devel
[Top][All Lists]
Advanced

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

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


From: Seb
Subject: remove-hook creates a symbol if it doesn't exist
Date: Tue, 21 Oct 2008 13:26:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi,

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]
`-----


Cheers,

-- 
Seb





reply via email to

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