678 |
@defvar max-lisp-eval-depth |
@defvar max-lisp-eval-depth |
679 |
This variable defines the maximum depth allowed in calls to @code{eval}, |
This variable defines the maximum depth allowed in calls to @code{eval}, |
680 |
@code{apply}, and @code{funcall} before an error is signaled (with error |
@code{apply}, and @code{funcall} before an error is signaled (with error |
681 |
message @code{"Lisp nesting exceeds max-lisp-eval-depth"}). This limit, |
message @code{"Lisp nesting exceeds max-lisp-eval-depth"}). |
682 |
with the associated error when it is exceeded, is one way that Lisp |
|
683 |
avoids infinite recursion on an ill-defined function. |
This limit, with the associated error when it is exceeded, is one way |
684 |
|
Emacs Lisp avoids infinite recursion on an ill-defined function. If |
685 |
|
you increase the value of @code{max-lisp-eval-depth} too much, such |
686 |
|
code can cause stack overflow instead. |
687 |
@cindex Lisp nesting error |
@cindex Lisp nesting error |
688 |
|
|
689 |
The depth limit counts internal uses of @code{eval}, @code{apply}, and |
The depth limit counts internal uses of @code{eval}, @code{apply}, and |