summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/evalext.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libguile/evalext.c b/libguile/evalext.c
index 22e0c2f36..55996b76f 100644
--- a/libguile/evalext.c
+++ b/libguile/evalext.c
@@ -71,7 +71,10 @@ scm_m_generalized_set_x (SCM xorig, SCM env)
SCM_DEFINE (scm_definedp, "defined?", 1, 1, 0,
(SCM sym, SCM env),
- "Return @code{#t} if @var{sym} is defined in the top-level environment.")
+ "Return @code{#t} if @var{sym} is defined in the lexical "
+ "environment@var{env}. When @var{env} is not specified, "
+ "look in the top-level environment as as defined by the "
+ "current module.")
#define FUNC_NAME s_scm_definedp
{
SCM vcell;