* xdisp.c (redisplay_internal): Reset tty's color_mode when switching
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 9 Apr 2008 03:25:14 +0000 (03:25 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 9 Apr 2008 03:25:14 +0000 (03:25 +0000)
commit9b2cd403209d7fa25b310b29a2f0a570865fbbb3
tree3b63c80a0539168cbe49aaffcce1a1ef0ca9469a
parent84cb7b4562d2075284f15bcc832d156d0cf0d71a
* 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'.
src/ChangeLog
src/dispextern.h
src/frame.c
src/term.c
src/termchar.h
src/xdisp.c