all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there any way to detect if a variable is a hook?
@ 2007-06-13 17:09 Lennart Borgman (gmail)
  2007-06-13 17:41 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2007-06-13 17:09 UTC (permalink / raw)
  To: Emacs Devel

Other than reading the source or docs ;-)

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

* Re: Is there any way to detect if a variable is a hook?
  2007-06-13 17:09 Is there any way to detect if a variable is a hook? Lennart Borgman (gmail)
@ 2007-06-13 17:41 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2007-06-13 17:41 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: Emacs Devel

> Other than reading the source or docs ;-)

Check if the name ends in "-hook" (for normal hooks) or "-functions" (for
special hooks).


        Stefan

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

end of thread, other threads:[~2007-06-13 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-13 17:09 Is there any way to detect if a variable is a hook? Lennart Borgman (gmail)
2007-06-13 17:41 ` Stefan Monnier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.