From: Juanma Barranquero Date: Sun, 16 Jun 2019 21:14:51 +0000 (+0200) Subject: Bump up max_specpdl_size to 1500. (Bug#36216) X-Git-Tag: emacs-27.0.90~2465 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4156dd384a1b6d999bdbce30507bfab77e49ab4e;p=emacs.git 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. --- diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 5e1bfbd7145..6e6448ec1e9 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -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 diff --git a/src/eval.c b/src/eval.c index 5bba8766373..0006123b0af 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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);