Commit 335e9627 authored by Jan Djärv's avatar Jan Djärv
Browse files

* xfaces.c (Finternal_set_lisp_face_attribute): Added FIXME comment.

parent e2e773b9
......@@ -2,6 +2,7 @@
* xfaces.c (Finternal_set_lisp_face_attribute): Don't try to
make a font_object from a tty frame (Bug#18573).
(Finternal_set_lisp_face_attribute): Added FIXME comment.
2014-09-30 Eli Zaretskii <eliz@gnu.org>
......
......@@ -3119,6 +3119,13 @@ FRAME 0 means change the face on all frames, and change the default
f = XFRAME (selected_frame);
else
f = XFRAME (frame);
/* FIXME:
If frame is t, and selected frame is a tty frame, the font
can't be realized. An improvement wuld be to loop over frames
for a non-tty frame and use that. See discussion in
bug#18573.
*/
if (f->terminal->type != output_termcap)
{
if (! FONT_OBJECT_P (value))
......
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