summaryrefslogtreecommitdiff
path: root/src/data.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-04-13 17:25:25 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2023-04-13 17:25:25 +0200
commitabb43a62365b378b27a85456db42dfa34d2ad760 (patch)
treebbc5bcd3aca5d2759164501185cb2058ffc72b2b /src/data.c
parentdf4a6342fa439de49451f6c48c7bfe639e8a3d6e (diff)
downloademacs-abb43a62365b378b27a85456db42dfa34d2ad760.tar.gz
Stop pretending that specpdl overflow can ever occur
* src/eval.c (grow_specpdl_allocation): Remove impossible error. * src/data.c (syms_of_data): Note obsolence of `excessive-variable-binding`.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c
index 8dc5000424e..4ab37e86ce5 100644
--- a/src/data.c
+++ b/src/data.c
@@ -4217,10 +4217,11 @@ syms_of_data (void)
Fput (Qrecursion_error, Qerror_message, build_pure_c_string
("Excessive recursive calling error"));
- PUT_ERROR (Qexcessive_variable_binding, recursion_tail,
- "Variable binding depth exceeds max-specpdl-size");
PUT_ERROR (Qexcessive_lisp_nesting, recursion_tail,
"Lisp nesting exceeds `max-lisp-eval-depth'");
+ /* Error obsolete (from 29.1), kept for compatibility. */
+ PUT_ERROR (Qexcessive_variable_binding, recursion_tail,
+ "Variable binding depth exceeds max-specpdl-size");
/* Types that type-of returns. */
DEFSYM (Qinteger, "integer");