aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 7fd1560708a..2cf3ff40e3b 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
2781Lisp_Object
2782list1 (arg1)
2783 Lisp_Object arg1;
2784{
2785 return Fcons (arg1, Qnil);
2786}
2781 2787
2782Lisp_Object 2788Lisp_Object
2783list2 (arg1, arg2) 2789list2 (arg1, arg2)
@@ -3450,8 +3456,7 @@ memory_full ()
3450 3456
3451 /* This used to call error, but if we've run out of memory, we could 3457 /* This used to call error, but if we've run out of memory, we could
3452 get infinite recursion trying to build the string. */ 3458 get infinite recursion trying to build the string. */
3453 while (1) 3459 xsignal (Qnil, Vmemory_signal_data);
3454 Fsignal (Qnil, Vmemory_signal_data);
3455} 3460}
3456 3461
3457/* If we released our reserve (due to running out of memory), 3462/* If we released our reserve (due to running out of memory),