aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 20be847f273..830476a61bc 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1280,8 +1280,12 @@ unwind_to_catch (catch, value)
1280#if HAVE_X_WINDOWS 1280#if HAVE_X_WINDOWS
1281 /* If x_catch_errors was done, turn it off now. 1281 /* If x_catch_errors was done, turn it off now.
1282 (First we give unbind_to a chance to do that.) */ 1282 (First we give unbind_to a chance to do that.) */
1283#if 0 /* This would disable x_catch_errors after x_connection_closed.
1284 * The catch must remain in effect during that delicate
1285 * state. --lorentey */
1283 x_fully_uncatch_errors (); 1286 x_fully_uncatch_errors ();
1284#endif 1287#endif
1288#endif
1285 1289
1286 byte_stack_list = catch->byte_stack; 1290 byte_stack_list = catch->byte_stack;
1287 gcprolist = catch->gcpro; 1291 gcprolist = catch->gcpro;
@@ -1458,10 +1462,12 @@ internal_condition_case (bfun, handlers, hfun)
1458 1462
1459 /* Since Fsignal will close off all calls to x_catch_errors, 1463 /* Since Fsignal will close off all calls to x_catch_errors,
1460 we will get the wrong results if some are not closed now. */ 1464 we will get the wrong results if some are not closed now. */
1465#if 0 /* Fsignal doesn't do that anymore. --lorentey */
1461#if HAVE_X_WINDOWS 1466#if HAVE_X_WINDOWS
1462 if (x_catching_errors ()) 1467 if (x_catching_errors ())
1463 abort (); 1468 abort ();
1464#endif 1469#endif
1470#endif
1465 1471
1466 c.tag = Qnil; 1472 c.tag = Qnil;
1467 c.val = Qnil; 1473 c.val = Qnil;
@@ -1506,10 +1512,12 @@ internal_condition_case_1 (bfun, arg, handlers, hfun)
1506 1512
1507 /* Since Fsignal will close off all calls to x_catch_errors, 1513 /* Since Fsignal will close off all calls to x_catch_errors,
1508 we will get the wrong results if some are not closed now. */ 1514 we will get the wrong results if some are not closed now. */
1515#if 0 /* Fsignal doesn't do that anymore. --lorentey */
1509#if HAVE_X_WINDOWS 1516#if HAVE_X_WINDOWS
1510 if (x_catching_errors ()) 1517 if (x_catching_errors ())
1511 abort (); 1518 abort ();
1512#endif 1519#endif
1520#endif
1513 1521
1514 c.tag = Qnil; 1522 c.tag = Qnil;
1515 c.val = Qnil; 1523 c.val = Qnil;
@@ -1557,10 +1565,12 @@ internal_condition_case_2 (bfun, nargs, args, handlers, hfun)
1557 1565
1558 /* Since Fsignal will close off all calls to x_catch_errors, 1566 /* Since Fsignal will close off all calls to x_catch_errors,
1559 we will get the wrong results if some are not closed now. */ 1567 we will get the wrong results if some are not closed now. */
1568#if 0 /* Fsignal doesn't do that anymore. --lorentey */
1560#if HAVE_X_WINDOWS 1569#if HAVE_X_WINDOWS
1561 if (x_catching_errors ()) 1570 if (x_catching_errors ())
1562 abort (); 1571 abort ();
1563#endif 1572#endif
1573#endif
1564 1574
1565 c.tag = Qnil; 1575 c.tag = Qnil;
1566 c.val = Qnil; 1576 c.val = Qnil;