diff options
| author | Jason Rumney | 2007-11-21 03:46:31 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-11-21 03:46:31 +0000 |
| commit | 6152361fcb6b83fe502b0dea5118c4848268f1d9 (patch) | |
| tree | 966d2f6e143a63733e0c31146cf11c42eff8a921 /src | |
| parent | bdae0540223b599fa2a3f38d77092f3d9ba1fddc (diff) | |
| download | emacs-6152361fcb6b83fe502b0dea5118c4848268f1d9.tar.gz emacs-6152361fcb6b83fe502b0dea5118c4848268f1d9.zip | |
(init_display) [WINDOWSNT]: Hardcode terminal_type.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 3c4ba18ce35..312ec38f445 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -6893,8 +6893,12 @@ init_display () | |||
| 6893 | exit (1); | 6893 | exit (1); |
| 6894 | } | 6894 | } |
| 6895 | 6895 | ||
| 6896 | #ifdef WINDOWSNT | ||
| 6897 | terminal_type = "w32console"; | ||
| 6898 | #else | ||
| 6896 | /* Look at the TERM variable. */ | 6899 | /* Look at the TERM variable. */ |
| 6897 | terminal_type = (char *) getenv ("TERM"); | 6900 | terminal_type = (char *) getenv ("TERM"); |
| 6901 | #endif | ||
| 6898 | if (!terminal_type) | 6902 | if (!terminal_type) |
| 6899 | { | 6903 | { |
| 6900 | #ifdef VMS | 6904 | #ifdef VMS |