diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/alloc.c b/src/alloc.c index 1d3dc10c411..4b3fa4d7e69 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -559,8 +559,7 @@ buffer_memory_full () | |||
| 559 | 559 | ||
| 560 | /* This used to call error, but if we've run out of memory, we could | 560 | /* This used to call error, but if we've run out of memory, we could |
| 561 | get infinite recursion trying to build the string. */ | 561 | get infinite recursion trying to build the string. */ |
| 562 | while (1) | 562 | xsignal (Qnil, Vmemory_signal_data); |
| 563 | Fsignal (Qnil, Vmemory_signal_data); | ||
| 564 | } | 563 | } |
| 565 | 564 | ||
| 566 | 565 | ||
| @@ -2777,7 +2776,14 @@ check_cons_list () | |||
| 2777 | #endif | 2776 | #endif |
| 2778 | } | 2777 | } |
| 2779 | 2778 | ||
| 2780 | /* Make a list of 2, 3, 4 or 5 specified objects. */ | 2779 | /* Make a list of 1, 2, 3, 4 or 5 specified objects. */ |
| 2780 | |||
| 2781 | Lisp_Object | ||
| 2782 | list1 (arg1) | ||
| 2783 | Lisp_Object arg1; | ||
| 2784 | { | ||
| 2785 | return Fcons (arg1, Qnil); | ||
| 2786 | } | ||
| 2781 | 2787 | ||
| 2782 | Lisp_Object | 2788 | Lisp_Object |
| 2783 | list2 (arg1, arg2) | 2789 | list2 (arg1, arg2) |
| @@ -3493,8 +3499,7 @@ memory_full () | |||
| 3493 | 3499 | ||
| 3494 | /* This used to call error, but if we've run out of memory, we could | 3500 | /* This used to call error, but if we've run out of memory, we could |
| 3495 | get infinite recursion trying to build the string. */ | 3501 | get infinite recursion trying to build the string. */ |
| 3496 | while (1) | 3502 | xsignal (Qnil, Vmemory_signal_data); |
| 3497 | Fsignal (Qnil, Vmemory_signal_data); | ||
| 3498 | } | 3503 | } |
| 3499 | 3504 | ||
| 3500 | /* If we released our reserve (due to running out of memory), | 3505 | /* If we released our reserve (due to running out of memory), |