Commit 24b34550 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(set_default_ascii_font): Delete this unused function.

parent 518c4881
2009-04-29 Kenichi Handa <>
* fontset.h (set_default_ascii_font): Delete extern.
* fontset.c (set_default_ascii_font): Delete this unused function.
* frame.c (x_set_font): When ARG is a font-object, check if the
font-object matches with the ASCII font-spec of the frame's
fontset. If not, create a new fontset for the frame.
2009-04-28 Andreas Schwab <>
* fns.c (Flocale_info): Protect vector from GC during decoding.
......@@ -765,23 +765,6 @@ make_fontset (frame, name, base)
return fontset;
/* Set the ASCII font of the default fontset to FONTNAME if that is
not yet set. */
set_default_ascii_font (fontname)
Lisp_Object fontname;
if (! STRINGP (FONTSET_ASCII (Vdefault_fontset)))
int id = fs_query_fontset (fontname, 2);
if (id >= 0)
FONTSET_ASCII (Vdefault_fontset)= fontname;
/********** INTERFACES TO xfaces.c, xfns.c, and dispextern.h **********/
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