HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e581845
)
(scm_eval): Added example to docstring. Thanks to Issac Trotts!
author
Marius Vollmer
<mvo@zagadka.de>
Mon, 10 Jan 2005 20:20:58 +0000
(20:20 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Mon, 10 Jan 2005 20:20:58 +0000
(20:20 +0000)
libguile/eval.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/eval.c
b/libguile/eval.c
index
c7aae95
..
193fd1c
100644
(file)
--- a/
libguile/eval.c
+++ b/
libguile/eval.c
@@
-5932,7
+5932,8
@@
SCM_DEFINE (scm_eval, "eval", 2, 0, 0,
"in the top-level environment specified by @var{module}.\n"
"While @var{exp} is evaluated (using @code{primitive-eval}),\n"
"@var{module} is made the current module. The current module\n"
- "is reset to its previous value when @var{eval} returns.")
+ "is reset to its previous value when @var{eval} returns.\n"
+ "Example: (eval '(+ 1 2) (interaction-environment))")
#define FUNC_NAME s_scm_eval
{
SCM_VALIDATE_MODULE (2, module);