diff options
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index 7e9b4b55d09..c587142762e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1273,8 +1273,12 @@ unwind_to_catch (catch, value) #if HAVE_X_WINDOWS /* If x_catch_errors was done, turn it off now. (First we give unbind_to a chance to do that.) */ +#if 0 /* This would disable x_catch_errors after x_connection_closed. + * The catch must remain in effect during that delicate + * state. --lorentey */ x_fully_uncatch_errors (); #endif +#endif byte_stack_list = catch->byte_stack; gcprolist = catch->gcpro; @@ -1451,10 +1455,12 @@ internal_condition_case (bfun, handlers, hfun) /* Since Fsignal will close off all calls to x_catch_errors, we will get the wrong results if some are not closed now. */ +#if 0 /* Fsignal doesn't do that anymore. --lorentey */ #if HAVE_X_WINDOWS if (x_catching_errors ()) abort (); #endif +#endif c.tag = Qnil; c.val = Qnil; @@ -1499,10 +1505,12 @@ internal_condition_case_1 (bfun, arg, handlers, hfun) /* Since Fsignal will close off all calls to x_catch_errors, we will get the wrong results if some are not closed now. */ +#if 0 /* Fsignal doesn't do that anymore. --lorentey */ #if HAVE_X_WINDOWS if (x_catching_errors ()) abort (); #endif +#endif c.tag = Qnil; c.val = Qnil; @@ -1550,10 +1558,12 @@ internal_condition_case_2 (bfun, nargs, args, handlers, hfun) /* Since Fsignal will close off all calls to x_catch_errors, we will get the wrong results if some are not closed now. */ +#if 0 /* Fsignal doesn't do that anymore. --lorentey */ #if HAVE_X_WINDOWS if (x_catching_errors ()) abort (); #endif +#endif c.tag = Qnil; c.val = Qnil; |