aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
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')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/alloc.c4
-rw-r--r--src/buffer.c2
-rw-r--r--src/frame.c2
4 files changed, 9 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b174073a82f..c3d4e291242 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12009-11-11 Dan Nicolaescu <dann@ics.uci.edu> 12009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * frame.c (make_initial_frame):
4 * buffer.c (init_buffer_once): Use make_pure_c_string instead of
5 build_string.
6 * alloc.c (syms_of_alloc): Build Vmemory_signal_data in pure memory.
7
3 * s/freebsd.h: 8 * s/freebsd.h:
4 * s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o. 9 * s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o.
5 10
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. */);
diff --git a/src/buffer.c b/src/buffer.c
index c4e90363c6a..8edea2d8728 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5302,7 +5302,7 @@ init_buffer_once ()
5302 current_buffer = 0; 5302 current_buffer = 0;
5303 all_buffers = 0; 5303 all_buffers = 0;
5304 5304
5305 QSFundamental = build_string ("Fundamental"); 5305 QSFundamental = make_pure_c_string ("Fundamental");
5306 5306
5307 Qfundamental_mode = intern_c_string ("fundamental-mode"); 5307 Qfundamental_mode = intern_c_string ("fundamental-mode");
5308 buffer_defaults.major_mode = Qfundamental_mode; 5308 buffer_defaults.major_mode = Qfundamental_mode;
diff --git a/src/frame.c b/src/frame.c
index b3c3b83735b..467f6bd1482 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -543,7 +543,7 @@ make_initial_frame (void)
543 Vframe_list = Fcons (frame, Vframe_list); 543 Vframe_list = Fcons (frame, Vframe_list);
544 544
545 tty_frame_count = 1; 545 tty_frame_count = 1;
546 f->name = build_string ("F1"); 546 f->name = make_pure_c_string ("F1");
547 547
548 f->visible = 1; 548 f->visible = 1;
549 f->async_visible = 1; 549 f->async_visible = 1;