Variable: max-specpdl-size
max-specpdl-size is a variable defined in subr.el.gz.
This variable is obsolete since 29.1.
Value
2500
Documentation
Former limit on specbindings, now without effect.
This variable used to limit the size of the specpdl stack which,
among other things, holds dynamic variable bindings and unwind-protect
activations. To prevent runaway recursion, use max-lisp-eval-depth
instead; it will indirectly limit the specpdl stack size as well.
Probably introduced at or before Emacs version 15.
Source Code
;; Defined in /usr/src/emacs/lisp/subr.el.gz
;; We can't actually make `values' obsolete, because that will result
;; in warnings when using `values' in let-bindings.
;;(make-obsolete-variable 'values "no longer used" "28.1")
(defvar max-specpdl-size 2500
"Former limit on specbindings, now without effect.
This variable used to limit the size of the specpdl stack which,
among other things, holds dynamic variable bindings and `unwind-protect'
activations. To prevent runaway recursion, use `max-lisp-eval-depth'
instead; it will indirectly limit the specpdl stack size as well.")