diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-09 03:25:14 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-09 03:25:14 +0000 |
commit | 9b2cd403209d7fa25b310b29a2f0a570865fbbb3 (patch) | |
tree | 3b63c80a0539168cbe49aaffcce1a1ef0ca9469a /src/termchar.h | |
parent | 84cb7b4562d2075284f15bcc832d156d0cf0d71a (diff) | |
download | emacs-9b2cd403209d7fa25b310b29a2f0a570865fbbb3.tar.gz |
* xdisp.c (redisplay_internal): Reset tty's color_mode when switching
to another frame.
* frame.c (do_switch_frame): Refine the top_frame/async_visible code.
Don't call set_tty_color_mode.
(store_frame_param): Reset previous_frame rather than call
set_tty_color_mode.
* term.c (set_tty_color_mode): Rewrite.
* dispextern.h (set_tty_color_mode): New type.
* termchar.h (struct tty_display_info): Add `previous_color_mode'.
Diffstat (limited to 'src/termchar.h')
-rw-r--r-- | src/termchar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/termchar.h b/src/termchar.h index 390b6490b63..735758ac910 100644 --- a/src/termchar.h +++ b/src/termchar.h @@ -70,6 +70,7 @@ struct tty_display_info /* The previous frame we displayed on this tty. */ struct frame *previous_frame; + int previous_color_mode; /* Strings, numbers and flags taken from the termcap entry. */ |