From: Mattias EngdegÄrd Date: Wed, 1 Jan 2020 15:35:54 +0000 (+0100) Subject: Raise default max-specpdl-size value X-Git-Tag: emacs-27.0.90~229 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb9402e6e9;p=emacs.git Raise default max-specpdl-size value Occasionally, loading cl-generic.el from source requires max_specpdl_size > 1600 when bootstrapping, and thus fails. In any case we are very close to the limit. * src/eval.c (init_eval_once): Raise max_specpdl_size to 1800. * doc/lispref/variables.texi (Local Variables): Update docs. --- diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 1ec97e2f3de..568eb0f7836 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -322,7 +322,7 @@ that Lisp avoids infinite recursion on an ill-defined function. @code{max-lisp-eval-depth} provides another limit on depth of nesting. @xref{Definition of max-lisp-eval-depth,, Eval}. -The default value is 1600. Entry to the Lisp debugger increases the +The default value is 1800. Entry to the Lisp debugger increases the value, if there is little room left, to make sure the debugger itself has room to execute. @end defopt diff --git a/src/eval.c b/src/eval.c index 4559a0e1f66..d1f74751446 100644 --- a/src/eval.c +++ b/src/eval.c @@ -219,7 +219,7 @@ void init_eval_once (void) { /* Don't forget to update docs (lispref node "Local Variables"). */ - max_specpdl_size = 1600; /* 1500 is not enough for cl-generic.el. */ + max_specpdl_size = 1800; /* 1600 is not enough for cl-generic.el. */ max_lisp_eval_depth = 800; Vrun_hooks = Qnil; pdumper_do_now_and_after_load (init_eval_once_for_pdumper);