diff options
| author | Stefan Monnier | 2008-04-09 03:25:14 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-09 03:25:14 +0000 |
| commit | 9b2cd403209d7fa25b310b29a2f0a570865fbbb3 (patch) | |
| tree | 3b63c80a0539168cbe49aaffcce1a1ef0ca9469a /src/dispextern.h | |
| parent | 84cb7b4562d2075284f15bcc832d156d0cf0d71a (diff) | |
| download | emacs-9b2cd403209d7fa25b310b29a2f0a570865fbbb3.tar.gz emacs-9b2cd403209d7fa25b310b29a2f0a570865fbbb3.zip | |
* 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/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 8e8d8561984..88373c7dddc 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -3057,7 +3057,7 @@ extern void calculate_costs P_ ((struct frame *)); | |||
| 3057 | extern void produce_glyphs P_ ((struct it *)); | 3057 | extern void produce_glyphs P_ ((struct it *)); |
| 3058 | extern void produce_special_glyphs P_ ((struct it *, enum display_element_type)); | 3058 | extern void produce_special_glyphs P_ ((struct it *, enum display_element_type)); |
| 3059 | extern int tty_capable_p P_ ((struct tty_display_info *, unsigned, unsigned long, unsigned long)); | 3059 | extern int tty_capable_p P_ ((struct tty_display_info *, unsigned, unsigned long, unsigned long)); |
| 3060 | extern void set_tty_color_mode P_ ((struct frame *, Lisp_Object)); | 3060 | extern void set_tty_color_mode (struct tty_display_info *, struct frame *); |
| 3061 | extern struct terminal *get_tty_terminal P_ ((Lisp_Object, int)); | 3061 | extern struct terminal *get_tty_terminal P_ ((Lisp_Object, int)); |
| 3062 | extern struct terminal *get_named_tty P_ ((char *)); | 3062 | extern struct terminal *get_named_tty P_ ((char *)); |
| 3063 | EXFUN (Ftty_type, 1); | 3063 | EXFUN (Ftty_type, 1); |