mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* evalext.c (scm_definedp): Have to work before module system is
booted.
This commit is contained in:
parent
37607b5a7b
commit
238d517c09
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,9 @@ SCM_DEFINE (scm_definedp, "defined?", 1, 1, 0,
|
|||
|
||||
if (SCM_UNBNDP (env))
|
||||
vcell = scm_sym2vcell(sym,
|
||||
SCM_TOP_LEVEL_LOOKUP_CLOSURE,
|
||||
scm_module_system_booted_p
|
||||
? SCM_TOP_LEVEL_LOOKUP_CLOSURE
|
||||
: SCM_EOL,
|
||||
SCM_BOOL_F);
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue