From 21fabda15dd67a56ad893195a7f33b64ad323632 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Tue, 13 Aug 2002 22:06:14 +0000 Subject: [PATCH] (eval-string): Updated. --- doc/ref/scheme-evaluation.texi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/ref/scheme-evaluation.texi b/doc/ref/scheme-evaluation.texi index b73f8316d..6357c78cf 100644 --- a/doc/ref/scheme-evaluation.texi +++ b/doc/ref/scheme-evaluation.texi @@ -205,12 +205,14 @@ return the environment in which the implementation would evaluate expressions dynamically typed by the user. @end deffn -@deffn {Scheme Procedure} eval-string string +@deffn {Scheme Procedure} eval-string string [module] @deffnx {C Function} scm_eval_string (string) -Evaluate @var{string} as the text representation of a Scheme -form or forms, and return whatever value they produce. -Evaluation takes place in the environment returned by the -procedure @code{interaction-environment}. +@deffnx {C Function} scm_eval_string_in_module (string, module) +Evaluate @var{string} as the text representation of a Scheme form or +forms, and return whatever value they produce. Evaluation takes place +in the given module, or in the current module when no module is given. +While the code is evaluated, the given module is made the current one. +The current module is restored when this procedure returns. @end deffn @deffn {Scheme Procedure} apply:nconc2last lst