changeset 6133:752d4237f869

(memory_signal_data): No longer static. (syms_of_alloc): Stick Qerror onto memory_signal_data.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Mar 1994 03:47:51 +0000
parents ddf57829cf03
children c656768172d2
files src/alloc.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Wed Mar 02 03:46:54 1994 +0000
+++ b/src/alloc.c	Wed Mar 02 03:47:51 1994 +0000
@@ -99,7 +99,7 @@
 char *pending_malloc_warning;
 
 /* Pre-computed signal argument for use when memory is exhausted.  */
-static Lisp_Object memory_signal_data;
+Lisp_Object memory_signal_data;
 
 /* Maximum amount of C stack to save when a GC happens.  */
 
@@ -2224,7 +2224,8 @@
 
   /* We build this in advance because if we wait until we need it, we might
      not be able to allocate the memory to hold it.  */
-  memory_signal_data = Fcons (build_string ("Memory exhausted"), Qnil);
+  memory_signal_data
+    = Fcons (Qerror, Fcons (build_string ("Memory exhausted"), Qnil));
   staticpro (&memory_signal_data);
 
   defsubr (&Scons);