diff options
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c index 5d8e0f2a61f..c906e1eb15a 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1967,14 +1967,21 @@ is not on a tty device. */) | |||
| 1967 | 1967 | ||
| 1968 | #ifndef WINDOWSNT | 1968 | #ifndef WINDOWSNT |
| 1969 | 1969 | ||
| 1970 | /* Declare here rather than in the function, as in the rest of Emacs, | ||
| 1971 | to work around an HPUX compiler bug (?). See | ||
| 1972 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html */ | ||
| 1973 | static int default_max_colors; | ||
| 1974 | static int default_max_pairs; | ||
| 1975 | static int default_no_color_video; | ||
| 1976 | static char *default_orig_pair; | ||
| 1977 | static char *default_set_foreground; | ||
| 1978 | static char *default_set_background; | ||
| 1979 | |||
| 1970 | /* Save or restore the default color-related capabilities of this | 1980 | /* Save or restore the default color-related capabilities of this |
| 1971 | terminal. */ | 1981 | terminal. */ |
| 1972 | static void | 1982 | static void |
| 1973 | tty_default_color_capabilities (struct tty_display_info *tty, int save) | 1983 | tty_default_color_capabilities (struct tty_display_info *tty, int save) |
| 1974 | { | 1984 | { |
| 1975 | static char | ||
| 1976 | *default_orig_pair, *default_set_foreground, *default_set_background; | ||
| 1977 | static int default_max_colors, default_max_pairs, default_no_color_video; | ||
| 1978 | 1985 | ||
| 1979 | if (save) | 1986 | if (save) |
| 1980 | { | 1987 | { |