Commit cf3540e4 authored by Richard M. Stallman's avatar Richard M. Stallman

(memory_signal_data): No longer static.

(syms_of_alloc): Stick Qerror onto memory_signal_data.
parent 9d58218c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment