aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 3c2b300096b..08a73b1e4a5 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1604,7 +1604,10 @@ signal_or_quit (Lisp_Object error_symbol, Lisp_Object data, bool keyboard_quit)
1604 1604
1605 /* This hook is used by edebug. */ 1605 /* This hook is used by edebug. */
1606 if (! NILP (Vsignal_hook_function) 1606 if (! NILP (Vsignal_hook_function)
1607 && ! NILP (error_symbol)) 1607 && ! NILP (error_symbol)
1608 /* Don't try to call a lisp function if we've already overflowed
1609 the specpdl stack. */
1610 && specpdl_ptr < specpdl + specpdl_size)
1608 { 1611 {
1609 /* Edebug takes care of restoring these variables when it exits. */ 1612 /* Edebug takes care of restoring these variables when it exits. */
1610 if (lisp_eval_depth + 20 > max_lisp_eval_depth) 1613 if (lisp_eval_depth + 20 > max_lisp_eval_depth)