mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
* eval.c (scm_definedp): Use top_level_lookup_closure_var
and not top_level_lookup_thunk_var.
This commit is contained in:
parent
4417e7a720
commit
0aa1e432c0
1 changed files with 1 additions and 1 deletions
|
@ -2843,7 +2843,7 @@ scm_definedp (sym)
|
|||
SCM_ASSERT (SCM_NIMP (sym) && SCM_SYMBOLP (sym), sym, SCM_ARG1, s_definedp);
|
||||
|
||||
vcell = scm_sym2vcell(sym,
|
||||
SCM_CDR (scm_top_level_lookup_thunk_var),
|
||||
SCM_CDR (scm_top_level_lookup_closure_var),
|
||||
SCM_BOOL_F);
|
||||
return (vcell == SCM_BOOL_F || SCM_UNBNDP(SCM_CDR(vcell))) ?
|
||||
SCM_BOOL_F : SCM_BOOL_T;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue