diff options
| author | Andrea Corallo | 2019-12-24 17:41:44 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:38:16 +0100 |
| commit | ef59b67e4657fa80d1528b9d476c67f01abecc35 (patch) | |
| tree | 8827eea8a193014bbc7df20b9e7974ae99509bbc /src/eval.c | |
| parent | 2ccce1bc3954ce5f2faa0dcf7fa68ec5cae710ca (diff) | |
| download | emacs-ef59b67e4657fa80d1528b9d476c67f01abecc35.tar.gz emacs-ef59b67e4657fa80d1528b9d476c67f01abecc35.zip | |
mitigate ifdef proliferation
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/eval.c b/src/eval.c index bf37ed9cefa..253de05a658 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -219,14 +219,17 @@ void | |||
| 219 | init_eval_once (void) | 219 | init_eval_once (void) |
| 220 | { | 220 | { |
| 221 | /* Don't forget to update docs (lispref node "Local Variables"). */ | 221 | /* Don't forget to update docs (lispref node "Local Variables"). */ |
| 222 | #ifndef HAVE_NATIVE_COMP | 222 | if (!NATIVE_COMP_FLAG) |
| 223 | max_specpdl_size = 1600; /* 1500 is not enough for cl-generic.el. */ | 223 | { |
| 224 | max_lisp_eval_depth = 800; | 224 | max_specpdl_size = 1600; /* 1500 is not enough for cl-generic.el. */ |
| 225 | #else | 225 | max_lisp_eval_depth = 800; |
| 226 | /* Original values increased for comp.el. */ | 226 | } |
| 227 | max_specpdl_size = 2100; | 227 | else |
| 228 | max_lisp_eval_depth = 1400; | 228 | { |
| 229 | #endif | 229 | /* Original values increased for comp.el. */ |
| 230 | max_specpdl_size = 2100; | ||
| 231 | max_lisp_eval_depth = 1400; | ||
| 232 | } | ||
| 230 | Vrun_hooks = Qnil; | 233 | Vrun_hooks = Qnil; |
| 231 | pdumper_do_now_and_after_load (init_eval_once_for_pdumper); | 234 | pdumper_do_now_and_after_load (init_eval_once_for_pdumper); |
| 232 | } | 235 | } |