diff options
| author | Miles Bader | 2007-08-21 04:55:30 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-08-21 04:55:30 +0000 |
| commit | 1fb072d1dff954c21d4805196df62c8eeead301c (patch) | |
| tree | da374db1a51e2a355b46f26a1c99e1ac5db5dca4 /src/term.c | |
| parent | aaf34461ff5804e5cebe163b31e535da72e81d87 (diff) | |
| parent | bdaf8a62d53cf8d5a0dc4f0dc530ecd6fc1f44fe (diff) | |
| download | emacs-1fb072d1dff954c21d4805196df62c8eeead301c.tar.gz emacs-1fb072d1dff954c21d4805196df62c8eeead301c.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--multi-tty--0--patch-32
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 | { |