[Moved from xemacs-patches]
Steve Youngs <youngs(a)xemacs.org> wrote:
APPROVE COMMIT
|--==> "JJ" == Jerry James <james(a)xemacs.org> writes:
JJ> 2002-06-26 Jerry James <james(a)xemacs.org>
JJ> * symbols.c (check_sane_subr): Let the symbol be bound if it is an
JJ> autoload cookie.
Thanks, Jerry. I'll commit this shortly.
Now that is has been committed, I am having second thoughts. This still
isn't right for modules. That function (check_sane_subr) shouldn't have
any assert()s in it at all. It should throw something if the conditions
fail to hold (e.g., two modules define a function with the same name).
Since this will be during module load time, that will cause the module
loader to give a failure message and halt the loading. I think I should
look for a reasonable way to handle something being thrown if this is
*not* in a module, and make a new patch to that effect. Opinions?
--
Jerry James
http://www.ittc.ku.edu/~james/