Mercurial > emacs
changeset 105958:341a779db1d0
* 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.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 11 Nov 2009 19:25:24 +0000 |
parents | 25e1d7e37015 |
children | ba3ffbd9c422 |
files | src/ChangeLog src/alloc.c src/buffer.c src/frame.c |
diffstat | 4 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Nov 11 19:24:20 2009 +0000 +++ b/src/ChangeLog Wed Nov 11 19:25:24 2009 +0000 @@ -1,5 +1,10 @@ 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu> + * 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. + * s/freebsd.h: * s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o.
--- a/src/alloc.c Wed Nov 11 19:24:20 2009 +0000 +++ b/src/alloc.c Wed Nov 11 19:25:24 2009 +0000 @@ -6401,8 +6401,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. */ Vmemory_signal_data - = list2 (Qerror, - build_string ("Memory exhausted--use M-x save-some-buffers then exit and restart Emacs")); + = pure_cons (Qerror, + pure_cons (make_pure_c_string ("Memory exhausted--use M-x save-some-buffers then exit and restart Emacs"), Qnil)); DEFVAR_LISP ("memory-full", &Vmemory_full, doc: /* Non-nil means Emacs cannot get much more Lisp memory. */);
--- a/src/buffer.c Wed Nov 11 19:24:20 2009 +0000 +++ b/src/buffer.c Wed Nov 11 19:25:24 2009 +0000 @@ -5302,7 +5302,7 @@ current_buffer = 0; all_buffers = 0; - QSFundamental = build_string ("Fundamental"); + QSFundamental = make_pure_c_string ("Fundamental"); Qfundamental_mode = intern_c_string ("fundamental-mode"); buffer_defaults.major_mode = Qfundamental_mode;