From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani
>= ;> Another problem is that defvar may simply never be called.
> But isn't it a bug to run-hooks a variable that was never explicit= ly
> defined?
All hook functions have always treated "unbound" as equal to nil,= so no,
it's not considered a bug to run a hook that's still unbound.
Basically, given that "unbound =3D=3D nil", what is a bug is to d= efvar
a hook with a non-nil default value, unless that hook is predefined
(i.e. is never unbound).