Commit 584d0634 authored by Jim Blandy's avatar Jim Blandy
Browse files

* xfaces.c (Fset_face_attribute_internal): Jolt redisplay, so it

	knows something has changed.
parent 9b528380
......@@ -917,6 +917,17 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
UNBLOCK_INPUT;
}
/* If we're modifying either of the frame's display faces, that
means that we're changing the parameters of a fixed face code;
since the color/font/whatever is changed but the face ID hasn't,
redisplay won't know to redraw the affected sections. Give it a
kick. */
if (id == 0 || id == 1)
SET_FRAME_GARBAGED (f);
else
/* Otherwise, it's enough to tell it to redisplay the text. */
windows_or_buffers_changed = 1;
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