aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2006-04-12 06:23:12 +0000
committerJan Djärv2006-04-12 06:23:12 +0000
commit00d70d574cb89c3096761ec10c8de31db58ddf41 (patch)
tree9248755d85efded9b15867f0ab516e1f8b68ff14 /src
parent957b3c5f2f6280605908e0b7694bead9539082b4 (diff)
downloademacs-00d70d574cb89c3096761ec10c8de31db58ddf41.tar.gz
emacs-00d70d574cb89c3096761ec10c8de31db58ddf41.zip
* dispnew.c (init_display): Don't init X display if the user asked
for a non-X display.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/dispnew.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7688664c45d..92dc093e9e0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12006-04-11 Micha,Ak(Bl Cadilhac <michael.cadilhac@lrde.org> (tiny change)
2
3 * dispnew.c (init_display): Don't init X display if the user asked
4 for a non-X display.
5
12006-04-12 Kenichi Handa <handa@m17n.org> 62006-04-12 Kenichi Handa <handa@m17n.org>
2 7
3 * coding.c (setup_coding_system): Use system_eol_type for default 8 * coding.c (setup_coding_system): Use system_eol_type for default
diff --git a/src/dispnew.c b/src/dispnew.c
index ff7758c7538..c0acc738c78 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6654,7 +6654,7 @@ init_display ()
6654 try to use X, and die with an error message if that doesn't work. */ 6654 try to use X, and die with an error message if that doesn't work. */
6655 6655
6656#ifdef HAVE_X_WINDOWS 6656#ifdef HAVE_X_WINDOWS
6657 if (! display_arg) 6657 if (! inhibit_window_system && ! display_arg)
6658 { 6658 {
6659 char *display; 6659 char *display;
6660#ifdef VMS 6660#ifdef VMS