From: Jason Rumney Date: Wed, 21 Nov 2007 03:46:31 +0000 (+0000) Subject: (init_display) [WINDOWSNT]: Hardcode terminal_type. X-Git-Tag: emacs-pretest-23.0.90~9599 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6152361fcb6b83fe502b0dea5118c4848268f1d9;p=emacs.git (init_display) [WINDOWSNT]: Hardcode terminal_type. --- 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 () exit (1); } +#ifdef WINDOWSNT + terminal_type = "w32console"; +#else /* Look at the TERM variable. */ terminal_type = (char *) getenv ("TERM"); +#endif if (!terminal_type) { #ifdef VMS