diff options
| -rw-r--r-- | src/eval.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c index 0acd7325a85..33bda7bfc57 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -3240,14 +3240,19 @@ syms_of_eval () | |||
| 3240 | DEFVAR_INT ("max-specpdl-size", &max_specpdl_size, | 3240 | DEFVAR_INT ("max-specpdl-size", &max_specpdl_size, |
| 3241 | doc: /* *Limit on number of Lisp variable bindings & unwind-protects. | 3241 | doc: /* *Limit on number of Lisp variable bindings & unwind-protects. |
| 3242 | If Lisp code tries to make more than this many at once, | 3242 | If Lisp code tries to make more than this many at once, |
| 3243 | an error is signaled. */); | 3243 | an error is signaled. |
| 3244 | You can safely use a value considerably larger than the default value, | ||
| 3245 | if that proves inconveniently small. However, if you increase it too far, | ||
| 3246 | Emacs could run out of memory trying to make the stack bigger. */); | ||
| 3244 | 3247 | ||
| 3245 | DEFVAR_INT ("max-lisp-eval-depth", &max_lisp_eval_depth, | 3248 | DEFVAR_INT ("max-lisp-eval-depth", &max_lisp_eval_depth, |
| 3246 | doc: /* *Limit on depth in `eval', `apply' and `funcall' before error. | 3249 | doc: /* *Limit on depth in `eval', `apply' and `funcall' before error. |
| 3247 | This limit is to catch infinite recursions for you before they cause | 3250 | |
| 3251 | This limit serves to catch infinite recursions for you before they cause | ||
| 3248 | actual stack overflow in C, which would be fatal for Emacs. | 3252 | actual stack overflow in C, which would be fatal for Emacs. |
| 3249 | You can safely make it considerably larger than its default value, | 3253 | You can safely make it considerably larger than its default value, |
| 3250 | if that proves inconveniently small. */); | 3254 | if that proves inconveniently small. However, if you increase it too far, |
| 3255 | Emacs could overflow the real C stack, and crash. */); | ||
| 3251 | 3256 | ||
| 3252 | DEFVAR_LISP ("quit-flag", &Vquit_flag, | 3257 | DEFVAR_LISP ("quit-flag", &Vquit_flag, |
| 3253 | doc: /* Non-nil causes `eval' to abort, unless `inhibit-quit' is non-nil. | 3258 | doc: /* Non-nil causes `eval' to abort, unless `inhibit-quit' is non-nil. |