(xfont_list): Try an alias.
This commit is contained in:
parent
913f26c2a4
commit
37470f4dfe
1 changed files with 8 additions and 0 deletions
|
@ -345,6 +345,7 @@ xfont_list (frame, spec)
|
|||
}
|
||||
if (NILP (list) && ! NILP (registry))
|
||||
{
|
||||
/* Try alternate registries. */
|
||||
Lisp_Object alter;
|
||||
|
||||
if ((alter = Fassoc (SYMBOL_NAME (registry),
|
||||
|
@ -365,6 +366,13 @@ xfont_list (frame, spec)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (NILP (list))
|
||||
{
|
||||
/* Try alias. */
|
||||
val = assq_no_quit (QCname, AREF (spec, FONT_EXTRA_INDEX));
|
||||
if (CONSP (val) && STRINGP (XCDR (val)))
|
||||
list = xfont_list_pattern (frame, display, SDATA (XCDR (val)));
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue