Commit 043604ee authored by Chong Yidong's avatar Chong Yidong

Fix --reverse-video on ttys.

* src/frame.c (Fmodify_frame_parameters): In tty case, update the
default face if necessary.

Fixes: debbugs:4238
parent da4adb04
2011-07-22 Chong Yidong <cyd@stupidchicken.com>
* frame.c (Fmodify_frame_parameters): In tty case, update the
default face if necessary (Bug#4238).
2011-07-21 Chong Yidong <cyd@stupidchicken.com> 2011-07-21 Chong Yidong <cyd@stupidchicken.com>
* editfns.c (Fstring_to_char): No need to explain what a character * editfns.c (Fstring_to_char): No need to explain what a character
......
...@@ -2437,11 +2437,9 @@ use is not recommended. Explicitly check for a frame-parameter instead. */) ...@@ -2437,11 +2437,9 @@ use is not recommended. Explicitly check for a frame-parameter instead. */)
val = values[i]; val = values[i];
store_frame_param (f, prop, val); store_frame_param (f, prop, val);
/* Changing the background color might change the background if (EQ (prop, Qforeground_color)
mode, so that we have to load new defface specs. || EQ (prop, Qbackground_color))
Call frame-set-background-mode to do that. */ update_face_from_frame_parameter (f, prop, val);
if (EQ (prop, Qbackground_color))
call1 (Qframe_set_background_mode, frame);
} }
} }
return Qnil; return Qnil;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment