diff options
| author | Miles Bader | 2007-05-13 13:26:57 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-05-13 13:26:57 +0000 |
| commit | 2ccf59411f334a41f2c64b1220a5d45f11071cae (patch) | |
| tree | 06557aa3117c2c13e011840d748c0f43111e7473 /src/eval.c | |
| parent | 68380acf41d91014634d625e5f529cd3f773fbd4 (diff) | |
| parent | d6897a018781164bf9e7bd4ca51c87b303170313 (diff) | |
| download | emacs-2ccf59411f334a41f2c64b1220a5d45f11071cae.tar.gz emacs-2ccf59411f334a41f2c64b1220a5d45f11071cae.zip | |
Import arch branch emacs@sv.gnu.org/emacs--multi-tty--0
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 6707849a840..b1bd3daef7a 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1273,8 +1273,12 @@ unwind_to_catch (catch, value) | |||
| 1273 | #if HAVE_X_WINDOWS | 1273 | #if HAVE_X_WINDOWS |
| 1274 | /* If x_catch_errors was done, turn it off now. | 1274 | /* If x_catch_errors was done, turn it off now. |
| 1275 | (First we give unbind_to a chance to do that.) */ | 1275 | (First we give unbind_to a chance to do that.) */ |
| 1276 | #if 0 /* This would disable x_catch_errors after x_connection_closed. | ||
| 1277 | * The catch must remain in effect during that delicate | ||
| 1278 | * state. --lorentey */ | ||
| 1276 | x_fully_uncatch_errors (); | 1279 | x_fully_uncatch_errors (); |
| 1277 | #endif | 1280 | #endif |
| 1281 | #endif | ||
| 1278 | 1282 | ||
| 1279 | byte_stack_list = catch->byte_stack; | 1283 | byte_stack_list = catch->byte_stack; |
| 1280 | gcprolist = catch->gcpro; | 1284 | gcprolist = catch->gcpro; |
| @@ -1451,10 +1455,12 @@ internal_condition_case (bfun, handlers, hfun) | |||
| 1451 | 1455 | ||
| 1452 | /* Since Fsignal will close off all calls to x_catch_errors, | 1456 | /* Since Fsignal will close off all calls to x_catch_errors, |
| 1453 | we will get the wrong results if some are not closed now. */ | 1457 | we will get the wrong results if some are not closed now. */ |
| 1458 | #if 0 /* Fsignal doesn't do that anymore. --lorentey */ | ||
| 1454 | #if HAVE_X_WINDOWS | 1459 | #if HAVE_X_WINDOWS |
| 1455 | if (x_catching_errors ()) | 1460 | if (x_catching_errors ()) |
| 1456 | abort (); | 1461 | abort (); |
| 1457 | #endif | 1462 | #endif |
| 1463 | #endif | ||
| 1458 | 1464 | ||
| 1459 | c.tag = Qnil; | 1465 | c.tag = Qnil; |
| 1460 | c.val = Qnil; | 1466 | c.val = Qnil; |
| @@ -1499,10 +1505,12 @@ internal_condition_case_1 (bfun, arg, handlers, hfun) | |||
| 1499 | 1505 | ||
| 1500 | /* Since Fsignal will close off all calls to x_catch_errors, | 1506 | /* Since Fsignal will close off all calls to x_catch_errors, |
| 1501 | we will get the wrong results if some are not closed now. */ | 1507 | we will get the wrong results if some are not closed now. */ |
| 1508 | #if 0 /* Fsignal doesn't do that anymore. --lorentey */ | ||
| 1502 | #if HAVE_X_WINDOWS | 1509 | #if HAVE_X_WINDOWS |
| 1503 | if (x_catching_errors ()) | 1510 | if (x_catching_errors ()) |
| 1504 | abort (); | 1511 | abort (); |
| 1505 | #endif | 1512 | #endif |
| 1513 | #endif | ||
| 1506 | 1514 | ||
| 1507 | c.tag = Qnil; | 1515 | c.tag = Qnil; |
| 1508 | c.val = Qnil; | 1516 | c.val = Qnil; |
| @@ -1550,10 +1558,12 @@ internal_condition_case_2 (bfun, nargs, args, handlers, hfun) | |||
| 1550 | 1558 | ||
| 1551 | /* Since Fsignal will close off all calls to x_catch_errors, | 1559 | /* Since Fsignal will close off all calls to x_catch_errors, |
| 1552 | we will get the wrong results if some are not closed now. */ | 1560 | we will get the wrong results if some are not closed now. */ |
| 1561 | #if 0 /* Fsignal doesn't do that anymore. --lorentey */ | ||
| 1553 | #if HAVE_X_WINDOWS | 1562 | #if HAVE_X_WINDOWS |
| 1554 | if (x_catching_errors ()) | 1563 | if (x_catching_errors ()) |
| 1555 | abort (); | 1564 | abort (); |
| 1556 | #endif | 1565 | #endif |
| 1566 | #endif | ||
| 1557 | 1567 | ||
| 1558 | c.tag = Qnil; | 1568 | c.tag = Qnil; |
| 1559 | c.val = Qnil; | 1569 | c.val = Qnil; |