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: Kevin Rodgers
Subject: Re: remove-hook creates a symbol if it doesn't exist
Date: Tue, 21 Oct 2008 20:48:50 -0600
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Seb wrote:
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]
`-----

Actually, the read function interned the symbol.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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