summaryrefslogtreecommitdiff
path: root/libguile/eval.c
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2004-08-10 14:08:02 +0000
committerMarius Vollmer <mvo@zagadka.de>2004-08-10 14:08:02 +0000
commit7f9994d90437cfdaf6d733b9c3b050d66326f3bb (patch)
tree8f3e66daaf6b5651e0ebf9988b2083de548308cc /libguile/eval.c
parent02573e4c7a10dee980618c93f4902887b225433c (diff)
downloadguile-7f9994d90437cfdaf6d733b9c3b050d66326f3bb.tar.gz
* stime.c, socket.c, simpos.c, procs.c, posix.c, ports.c,
net_db.c, fports.c, filesys.c, eval.c, deprecation.c, dynl.c: Replaced uses of SCM_STRING_CHARS with proper uses of scm_to_locale_string. Replaced SCM_STRINGP with scm_is_string. Replaced scm_mem2string with scm_from_locale_string. * simpos.c, posix.c (allocate_string_pointers, environ_list_to_c): Removed, replaced all uses with scm_i_allocate_string_pointers.
Diffstat (limited to 'libguile/eval.c')
-rw-r--r--libguile/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/eval.c b/libguile/eval.c
index 18db8906c..d8dfc9e70 100644
--- a/libguile/eval.c
+++ b/libguile/eval.c
@@ -1480,7 +1480,7 @@ scm_m_lambda (SCM expr, SCM env SCM_UNUSED)
* the documentation string will have to be skipped with every execution
* of the closure. */
cddr_expr = SCM_CDR (cdr_expr);
- documentation = (length >= 3 && SCM_STRINGP (SCM_CAR (cddr_expr)));
+ documentation = (length >= 3 && scm_is_string (SCM_CAR (cddr_expr)));
body = documentation ? SCM_CDR (cddr_expr) : cddr_expr;
new_body = m_body (SCM_IM_LAMBDA, body);