]> git.eshelyaron.com Git - emacs.git/commitdiff
(memory_signal_data): No longer static.
authorRichard M. Stallman <rms@gnu.org>
Wed, 2 Mar 1994 03:47:51 +0000 (03:47 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 2 Mar 1994 03:47:51 +0000 (03:47 +0000)
(syms_of_alloc): Stick Qerror onto memory_signal_data.

src/alloc.c

index f19ca3fb24cb94697e3ed2424a2d5d3eb96b9d2a..2ced2717cdcd5e1b7d0d28795e86113cea33fa64 100644 (file)
@@ -99,7 +99,7 @@ int pureptr;
 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 @@ which includes both saved text and other data.");
 
   /* 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);