Commit 97d42150 authored by Jason Rumney's avatar Jason Rumney
Browse files

(x_set_font): Always store a font to the font parameter,

never a fontset. (Bug#1562)
parent ecbe9da5
......@@ -3391,7 +3391,7 @@ x_set_font (f, arg, oldval)
font_object = font_open_by_name (f, SDATA (ascii_font));
if (NILP (font_object))
error ("Font `%s' is not defined", SDATA (arg));
arg = fontset_name (fontset);
arg = AREF (font_object, FONT_NAME_INDEX);
error ("The default fontset can't be used for a frame font");
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