aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2011-05-31 07:52:10 -0700
committerDan Nicolaescu2011-05-31 07:52:10 -0700
commit4fcc2638bf7978aed4705df9b6902a7f7e3fd498 (patch)
treeb184bfb088f0366380b8d1cf388c82b9f5ebeba2 /src
parentc56e0fd53b618aadb1a0b12ae70c1789e48b7b75 (diff)
downloademacs-4fcc2638bf7978aed4705df9b6902a7f7e3fd498.tar.gz
emacs-4fcc2638bf7978aed4705df9b6902a7f7e3fd498.zip
Don't force ./temacs to start in terminal mode.
* frame.c (make_initial_frame): Initialize faces in all cases, not only when CANNOT_DUMP is defined. * dispnew.c (init_display): Remove CANNOT_DUMP condition.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/dispnew.c3
-rw-r--r--src/frame.c2
3 files changed, 9 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0bbb8ce85c4..263ac124553 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,13 @@
12011-05-31 Dan Nicolaescu <dann@ics.uci.edu> 12011-05-31 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 Don't force ./temacs to start in terminal mode.
4
5 * frame.c (make_initial_frame): Initialize faces in all cases, not
6 only when CANNOT_DUMP is defined.
7 * dispnew.c (init_display): Remove CANNOT_DUMP condition.
8
92011-05-31 Dan Nicolaescu <dann@ics.uci.edu>
10
3 * dispnew.c (add_window_display_history): Use const for the string 11 * dispnew.c (add_window_display_history): Use const for the string
4 pointer. Remove declaration, not needed. 12 pointer. Remove declaration, not needed.
5 13
diff --git a/src/dispnew.c b/src/dispnew.c
index e98afbc9c3b..501dc4ffd80 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6233,8 +6233,7 @@ init_display (void)
6233 } 6233 }
6234 } 6234 }
6235 6235
6236 if (!inhibit_window_system && display_arg 6236 if (!inhibit_window_system && display_arg)
6237 )
6238 { 6237 {
6239 Vinitial_window_system = Qx; 6238 Vinitial_window_system = Qx;
6240#ifdef HAVE_X11 6239#ifdef HAVE_X11
diff --git a/src/frame.c b/src/frame.c
index 74e222f85fc..6008ba9567a 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -544,10 +544,8 @@ make_initial_frame (void)
544 /* The default value of menu-bar-mode is t. */ 544 /* The default value of menu-bar-mode is t. */
545 set_menu_bar_lines (f, make_number (1), Qnil); 545 set_menu_bar_lines (f, make_number (1), Qnil);
546 546
547#ifdef CANNOT_DUMP
548 if (!noninteractive) 547 if (!noninteractive)
549 init_frame_faces (f); 548 init_frame_faces (f);
550#endif
551 549
552 return f; 550 return f;
553} 551}