summaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2002-08-13 22:06:14 +0000
committerMarius Vollmer <mvo@zagadka.de>2002-08-13 22:06:14 +0000
commit21fabda15dd67a56ad893195a7f33b64ad323632 (patch)
treee109ad12fb7c0d062868d945789d0d5fef60867e /doc/ref
parenta05a88b3b2d277b0cff71bf52a265ea726afa7d5 (diff)
downloadguile-21fabda15dd67a56ad893195a7f33b64ad323632.tar.gz
(eval-string): Updated.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/scheme-evaluation.texi12
1 files 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