From f707342d13e34a874c3f27c5998832d5e5934501 Mon Sep 17 00:00:00 2001 From: Steven Tamm Date: Thu, 28 Nov 2002 07:47:34 +0000 Subject: [PATCH] fns.c (Frequire): Change nesting allowance from 2 to 3 to cause more descriptive error output from lread.c:Fload upon most require cycles during bootstrapping --- src/ChangeLog | 6 ++++++ src/fns.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 030fe24435d..006422f9d9b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2002-11-27 Steven Tamm + + * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause + more descriptive error output from lread.c:Fload upon most require + cycles during boostrapping. + 2002-11-27 Jason Rumney * fileio.c (Finsert_file_contents): Give a more appropriate error diff --git a/src/fns.c b/src/fns.c index c33df74b464..3774aeb9409 100644 --- a/src/fns.c +++ b/src/fns.c @@ -3269,7 +3269,7 @@ The normal messages at start and end of loading FILENAME are suppressed. */) nesting++; tem = XCDR (tem); } - if (nesting > 2) + if (nesting > 3) error ("Recursive `require' for feature `%s'", SDATA (SYMBOL_NAME (feature))); -- 2.39.2