unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* remove-hook creates a symbol if it doesn't exist
@ 2008-10-21 18:26 Seb
  2008-10-21 22:13 ` Stefan Monnier
  2008-10-22  2:48 ` Kevin Rodgers
  0 siblings, 2 replies; 5+ messages in thread
From: Seb @ 2008-10-21 18:26 UTC (permalink / raw)
  To: emacs-devel

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-24  3:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 18:26 remove-hook creates a symbol if it doesn't exist Seb
2008-10-21 22:13 ` Stefan Monnier
2008-10-22  2:48 ` Kevin Rodgers
2008-10-22  2:54   ` Drew Adams
2008-10-24  3:12     ` Kevin Rodgers

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).