aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c13
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 */
1973static int default_max_colors;
1974static int default_max_pairs;
1975static int default_no_color_video;
1976static char *default_orig_pair;
1977static char *default_set_foreground;
1978static 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. */
1972static void 1982static void
1973tty_default_color_capabilities (struct tty_display_info *tty, int save) 1983tty_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 {