Mercurial > hg > xemacs-beta
comparison src/redisplay.c @ 209:41ff10fd062f r20-4b3
Import from CVS: tag r20-4b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:04:58 +0200 |
parents | a2f645c6b9f8 |
children | 78478c60bfcd |
comparison
equal
deleted
inserted
replaced
208:f427b8ec4379 | 209:41ff10fd062f |
---|---|
5843 obj = XFRAME (w->frame)->name; | 5843 obj = XFRAME (w->frame)->name; |
5844 break; | 5844 break; |
5845 | 5845 |
5846 /* indicate TEXT or BINARY */ | 5846 /* indicate TEXT or BINARY */ |
5847 case 't': | 5847 case 't': |
5848 #ifdef MSDOS | 5848 #ifdef DOS_NT |
5849 str = NILP (b->buffer_file_type) ? "T" : "B"; | 5849 str = NILP (b->buffer_file_type) ? "T" : "B"; |
5850 #else /* not MSDOS */ | 5850 #else /* not DOS_NT */ |
5851 str = "T"; | 5851 str = "T"; |
5852 #endif /* not MSDOS */ | 5852 #endif /* not DOS_NT */ |
5853 break; | 5853 break; |
5854 | 5854 |
5855 /* print percent of buffer above top of window, or Top, Bot or All */ | 5855 /* print percent of buffer above top of window, or Top, Bot or All */ |
5856 case 'p': | 5856 case 'p': |
5857 { | 5857 { |
8112 Vinitial_window_system = Qx; | 8112 Vinitial_window_system = Qx; |
8113 return; | 8113 return; |
8114 } | 8114 } |
8115 #endif /* HAVE_X_WINDOWS */ | 8115 #endif /* HAVE_X_WINDOWS */ |
8116 | 8116 |
8117 #ifdef HAVE_W32GUI | |
8118 if (!strcmp (display_use, "w32")) | |
8119 { | |
8120 /* Some stuff checks this way early. */ | |
8121 Vwindow_system = Qw32; | |
8122 Vinitial_window_system = Qw32; | |
8123 return; | |
8124 } | |
8125 #endif /* HAVE_W32GUI */ | |
8126 | |
8117 /* If no window system has been specified, try to use the terminal. */ | 8127 /* If no window system has been specified, try to use the terminal. */ |
8118 if (!isatty (0)) | 8128 if (!isatty (0)) |
8119 { | 8129 { |
8120 stderr_out ("XEmacs: standard input is not a tty\n"); | 8130 stderr_out ("XEmacs: standard input is not a tty\n"); |
8121 exit (1); | 8131 exit (1); |