* eval.c (scm_call_0, scm_call_1, scm_call_2, scm_call_3,

scm_apply_0, scm_apply_1, scm_apply_2, scm_apply_3): New functions.
This commit is contained in:
Keisuke Nishida 2001-06-26 15:46:40 +00:00
commit fdc2839563
25 changed files with 167 additions and 105 deletions

View file

@ -119,7 +119,7 @@ SCM_DEFINE (scm_primitive_load, "primitive-load", 1, 0, 0,
SCM_EOL);
if (! SCM_FALSEP (hook))
scm_apply (hook, SCM_LIST1 (filename), SCM_EOL);
scm_call_1 (hook, filename);
{ /* scope */
SCM port, save_port;