From: Andrea Corallo Date: Thu, 14 Nov 2019 17:01:00 +0000 (+0100) Subject: fix max depth compilation X-Git-Tag: emacs-28.0.90~2727^2~993 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=787444c7690d97d8702db059cb51ac506cb8a5e4;p=emacs.git fix max depth compilation --- diff --git a/src/eval.c b/src/eval.c index 4559a0e1f66..bf37ed9cefa 100644 --- a/src/eval.c +++ b/src/eval.c @@ -219,8 +219,14 @@ void init_eval_once (void) { /* Don't forget to update docs (lispref node "Local Variables"). */ +#ifndef HAVE_NATIVE_COMP max_specpdl_size = 1600; /* 1500 is not enough for cl-generic.el. */ max_lisp_eval_depth = 800; +#else + /* Original values increased for comp.el. */ + max_specpdl_size = 2100; + max_lisp_eval_depth = 1400; +#endif Vrun_hooks = Qnil; pdumper_do_now_and_after_load (init_eval_once_for_pdumper); }