max-lisp-eval-depth
max-lisp-eval-depth is a variable defined in `
C source code
'.
Its value is
600
- This variable may be risky if used as a file-local variable.
Documentation:
Limit on depth in `eval', `apply' and `funcall' before error.
This limit serves to catch infinite recursions for you before they cause
actual stack overflow in C, which would be fatal for Emacs.
You can safely make it considerably larger than its default value,
if that proves inconveniently small. However, if you increase it too far,
Emacs could overflow the real C stack, and crash.
You can customize this variable.