mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
(set_default_ascii_font): Delete this unused function.
This commit is contained in:
parent
518c488187
commit
24b345504c
@ -1,3 +1,13 @@
|
||||
2009-04-29 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* 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 <schwab@linux-m68k.org>
|
||||
|
||||
* 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. */
|
||||
void
|
||||
set_default_ascii_font (fontname)
|
||||
Lisp_Object fontname;
|
||||
{
|
||||
if (! STRINGP (FONTSET_ASCII (Vdefault_fontset)))
|
||||
{
|
||||
int id = fs_query_fontset (fontname, 2);
|
||||
|
||||
if (id >= 0)
|
||||
fontname = FONTSET_ASCII (FONTSET_FROM_ID (id));
|
||||
FONTSET_ASCII (Vdefault_fontset)= fontname;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/********** INTERFACES TO xfaces.c, xfns.c, and dispextern.h **********/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user