aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 955f274c270..e1fadc155f6 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2396,6 +2396,17 @@ DEFUN ("cons", Fcons, Scons, 2, 2, 0,
2396 return val; 2396 return val;
2397} 2397}
2398 2398
2399/* Get an error now if there's any junk in the cons free list. */
2400void
2401check_cons_list ()
2402{
2403 struct Lisp_Cons *tail = cons_free_list;
2404
2405#if 0
2406 while (tail)
2407 tail = *(struct Lisp_Cons **)&tail->cdr;
2408#endif
2409}
2399 2410
2400/* Make a list of 2, 3, 4 or 5 specified objects. */ 2411/* Make a list of 2, 3, 4 or 5 specified objects. */
2401 2412