From 1afff620541041a7b680a85fee6d641092091b7c Mon Sep 17 00:00:00 2001 From: Keisuke Nishida Date: Thu, 28 Jun 2001 01:11:59 +0000 Subject: * list.h (scm_list_1, scm_list_2, scm_list_3, scm_list_4, scm_list_5, scm_list_n): New functions. (SCM_LIST0, SCM_LIST1, SCM_LIST2, SCM_LIST3, SCM_LIST4, SCM_LIST5, SCM_LIST6, SCM_LIST7, SCM_LIST8, SCM_LIST9, scm_listify): Deprecated. (lots of files): Use the new functions. * goops.c (CALL_GF1, CALL_GF2, CALL_GF3, CALL_GF4): Use scm_call_N. * strings.c: #include "libguile/deprecation.h". --- libguile/script.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libguile/script.c') diff --git a/libguile/script.c b/libguile/script.c index 7c7c3f162..0c4810446 100644 --- a/libguile/script.c +++ b/libguile/script.c @@ -565,11 +565,8 @@ scm_compile_shell_switches (int argc, char **argv) if (scm_ilength (srfis) <= 0) scm_shell_usage (1, "invalid SRFI specification"); srfis = scm_reverse_x (srfis, SCM_UNDEFINED); - tail = scm_cons (scm_listify - (sym_use_srfis, - scm_listify (scm_sym_quote, - srfis, SCM_UNDEFINED), - SCM_UNDEFINED), + tail = scm_cons (scm_list_2 (sym_use_srfis, + scm_list_2 (scm_sym_quote, srfis)), tail); } -- cgit v1.2.3