From 3243d7231cc78ae433442c946bf48f7ee0da0e77 Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Fri, 21 Aug 1998 08:15:31 +0000 Subject: [PATCH] * options.c (scm_options): Bugfix: Allow empty list of options! --- libguile/options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libguile/options.c b/libguile/options.c index a416adf8c..ad3783198 100644 --- a/libguile/options.c +++ b/libguile/options.c @@ -123,6 +123,7 @@ scm_options (new_mode, options, n, s) char *s; { int i, docp = (!SCM_UNBNDP (new_mode) + && !SCM_NULLP (new_mode) && (SCM_IMP (new_mode) || SCM_NCONSP (new_mode))); SCM ans = SCM_EOL, ls; for (i = 0; i < n; ++i)