aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-11 19:25:24 +0000
committerDan Nicolaescu2009-11-11 19:25:24 +0000
commitf4265f6c27b42ce61d3189a99cf9d6247304f9fe (patch)
tree0b32dac54528fedd632e29fd40eaaf8a817bd2f9 /src/alloc.c
parentaaa448c984ad227585dac4a2fe2ee5bdc467e25e (diff)
downloademacs-f4265f6c27b42ce61d3189a99cf9d6247304f9fe.tar.gz
emacs-f4265f6c27b42ce61d3189a99cf9d6247304f9fe.zip
* frame.c (make_initial_frame):
* buffer.c (init_buffer_once): Use make_pure_c_string instead of build_string. * alloc.c (syms_of_alloc): Build Vmemory_signal_data in pure memory.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 6241cde424b..b009157cc33 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6401,8 +6401,8 @@ This means that certain objects should be allocated in shared (pure) space. */)
6401 /* We build this in advance because if we wait until we need it, we might 6401 /* We build this in advance because if we wait until we need it, we might
6402 not be able to allocate the memory to hold it. */ 6402 not be able to allocate the memory to hold it. */
6403 Vmemory_signal_data 6403 Vmemory_signal_data
6404 = list2 (Qerror, 6404 = pure_cons (Qerror,
6405 build_string ("Memory exhausted--use M-x save-some-buffers then exit and restart Emacs")); 6405 pure_cons (make_pure_c_string ("Memory exhausted--use M-x save-some-buffers then exit and restart Emacs"), Qnil));
6406 6406
6407 DEFVAR_LISP ("memory-full", &Vmemory_full, 6407 DEFVAR_LISP ("memory-full", &Vmemory_full,
6408 doc: /* Non-nil means Emacs cannot get much more Lisp memory. */); 6408 doc: /* Non-nil means Emacs cannot get much more Lisp memory. */);