diff options
| author | Richard M. Stallman | 1996-10-09 20:30:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-10-09 20:30:23 +0000 |
| commit | e31714694adeee02f9c79a26e9e57efebcc88115 (patch) | |
| tree | f5eff3478766caf260df6fce119f5e22e52ef800 | |
| parent | 4f9ad01661b1882883205f6ccefd58ab1b4e9f6a (diff) | |
| download | emacs-e31714694adeee02f9c79a26e9e57efebcc88115.tar.gz emacs-e31714694adeee02f9c79a26e9e57efebcc88115.zip | |
(init_display): If not yet initialized,
we can't really use X, so we must do the real work.
| -rw-r--r-- | src/dispnew.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 47334fc7375..a046bdc3a84 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -2470,7 +2470,7 @@ init_display () | |||
| 2470 | display_arg = (display != 0 && *display != 0); | 2470 | display_arg = (display != 0 && *display != 0); |
| 2471 | } | 2471 | } |
| 2472 | 2472 | ||
| 2473 | if (!inhibit_window_system && display_arg) | 2473 | if (!inhibit_window_system && display_arg && initialized) |
| 2474 | { | 2474 | { |
| 2475 | Vwindow_system = intern ("x"); | 2475 | Vwindow_system = intern ("x"); |
| 2476 | #ifdef HAVE_X11 | 2476 | #ifdef HAVE_X11 |