diff options
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c index 2fae139e7f5..94b848b520a 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2023,7 +2023,7 @@ tty_default_color_capabilities (struct tty_display_info *tty, int save) | |||
| 2023 | /* Setup one of the standard tty color schemes according to MODE. | 2023 | /* Setup one of the standard tty color schemes according to MODE. |
| 2024 | MODE's value is generally the number of colors which we want to | 2024 | MODE's value is generally the number of colors which we want to |
| 2025 | support; zero means set up for the default capabilities, the ones | 2025 | support; zero means set up for the default capabilities, the ones |
| 2026 | we saw at term_init time; -1 means turn off color support. */ | 2026 | we saw at init_tty time; -1 means turn off color support. */ |
| 2027 | void | 2027 | void |
| 2028 | tty_setup_colors (struct tty_display_info *tty, int mode) | 2028 | tty_setup_colors (struct tty_display_info *tty, int mode) |
| 2029 | { | 2029 | { |
| @@ -2358,7 +2358,7 @@ static void maybe_fatal(); | |||
| 2358 | If MUST_SUCCEED is true, then all errors are fatal. */ | 2358 | If MUST_SUCCEED is true, then all errors are fatal. */ |
| 2359 | 2359 | ||
| 2360 | struct display * | 2360 | struct display * |
| 2361 | term_init (char *name, char *terminal_type, int must_succeed) | 2361 | init_tty (char *name, char *terminal_type, int must_succeed) |
| 2362 | { | 2362 | { |
| 2363 | char *area; | 2363 | char *area; |
| 2364 | char **address = &area; | 2364 | char **address = &area; |
| @@ -2376,7 +2376,7 @@ term_init (char *name, char *terminal_type, int must_succeed) | |||
| 2376 | 2376 | ||
| 2377 | /* If we already have an active display on the given device, use that. | 2377 | /* If we already have an active display on the given device, use that. |
| 2378 | If all displays are suspended, create a new one instead. */ | 2378 | If all displays are suspended, create a new one instead. */ |
| 2379 | /* XXX Perhaps this should be made explicit by having term_init | 2379 | /* XXX Perhaps this should be made explicit by having init_tty |
| 2380 | always create a new display and separating display and frame | 2380 | always create a new display and separating display and frame |
| 2381 | creation on Lisp level. */ | 2381 | creation on Lisp level. */ |
| 2382 | display = get_named_tty_display (name); | 2382 | display = get_named_tty_display (name); |
| @@ -2931,7 +2931,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.", | |||
| 2931 | #endif /* not WINDOWSNT */ | 2931 | #endif /* not WINDOWSNT */ |
| 2932 | } | 2932 | } |
| 2933 | 2933 | ||
| 2934 | /* Auxiliary error-handling function for term_init. | 2934 | /* Auxiliary error-handling function for init_tty. |
| 2935 | Free BUFFER and delete DISPLAY, then call error or fatal | 2935 | Free BUFFER and delete DISPLAY, then call error or fatal |
| 2936 | with str1 or str2, respectively, according to MUST_SUCCEED. */ | 2936 | with str1 or str2, respectively, according to MUST_SUCCEED. */ |
| 2937 | 2937 | ||