aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorMiles Bader2007-08-21 04:54:03 +0000
committerMiles Bader2007-08-21 04:54:03 +0000
commit42216a6b65dabb543156bc5e52cbf89d8ce96cb9 (patch)
tree1036c82a751bd2437cbc1b1d7f047bf3af679234 /src/term.c
parenteb5149ee586e6df9d919497688db0643c245386c (diff)
parentbdaf8a62d53cf8d5a0dc4f0dc530ecd6fc1f44fe (diff)
downloademacs-42216a6b65dabb543156bc5e52cbf89d8ce96cb9.tar.gz
emacs-42216a6b65dabb543156bc5e52cbf89d8ce96cb9.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 852-856) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 93-96) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 245) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-249
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 8e8eee72bae..88e120d6d66 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2350,15 +2350,22 @@ DEFUN ("tty-display-color-cells", Ftty_display_color_cells,
2350 2350
2351#ifndef WINDOWSNT 2351#ifndef WINDOWSNT
2352 2352
2353/* Declare here rather than in the function, as in the rest of Emacs,
2354 to work around an HPUX compiler bug (?). See
2355 http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html */
2356static int default_max_colors;
2357static int default_max_pairs;
2358static int default_no_color_video;
2359static char *default_orig_pair;
2360static char *default_set_foreground;
2361static char *default_set_background;
2362
2353/* Save or restore the default color-related capabilities of this 2363/* Save or restore the default color-related capabilities of this
2354 terminal. */ 2364 terminal. */
2355static void 2365static void
2356tty_default_color_capabilities (save) 2366tty_default_color_capabilities (save)
2357 int save; 2367 int save;
2358{ 2368{
2359 static char
2360 *default_orig_pair, *default_set_foreground, *default_set_background;
2361 static int default_max_colors, default_max_pairs, default_no_color_video;
2362 2369
2363 if (save) 2370 if (save)
2364 { 2371 {