Bump up max_specpdl_size to 1500. (Bug#36216)

* src/eval.c (init_eval_once): Set max_specpdl_size to 1500.
* doc/lispref/variables.texi (Local Variables): Document it.
This commit is contained in:
Juanma Barranquero 2019-06-16 23:14:51 +02:00
parent 2f97200bb9
commit 4156dd384a
2 changed files with 2 additions and 2 deletions

View file

@ -303,7 +303,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 1300. Entry to the Lisp debugger increases the
The default value is 1500. 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

View file

@ -220,7 +220,7 @@ void
init_eval_once (void)
{
/* Don't forget to update docs (lispref node "Local Variables"). */
max_specpdl_size = 1300; /* 1000 is not enough for CEDET's c-by.el. */
max_specpdl_size = 1500; /* 1300 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);