diff options
Diffstat (limited to 'src/fontset.c')
| -rw-r--r-- | src/fontset.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/fontset.c b/src/fontset.c index b257da117b6..357526bacfe 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -349,16 +349,17 @@ fontset_add (Lisp_Object fontset, Lisp_Object range, Lisp_Object elt, Lisp_Objec | |||
| 349 | from1 = from, to1 = to; | 349 | from1 = from, to1 = to; |
| 350 | args[idx] = char_table_ref_and_range (fontset, from, &from1, &to1); | 350 | args[idx] = char_table_ref_and_range (fontset, from, &from1, &to1); |
| 351 | char_table_set_range (fontset, from, to1, | 351 | char_table_set_range (fontset, from, to1, |
| 352 | NILP (args[idx]) ? args[1 - idx] | 352 | (NILP (args[idx]) ? args[1 - idx] |
| 353 | : Fvconcat (2, args)); | 353 | : CALLMANY (Fvconcat, args))); |
| 354 | from = to1 + 1; | 354 | from = to1 + 1; |
| 355 | } while (from < to); | 355 | } while (from < to); |
| 356 | } | 356 | } |
| 357 | else | 357 | else |
| 358 | { | 358 | { |
| 359 | args[idx] = FONTSET_FALLBACK (fontset); | 359 | args[idx] = FONTSET_FALLBACK (fontset); |
| 360 | set_fontset_fallback | 360 | set_fontset_fallback (fontset, |
| 361 | (fontset, NILP (args[idx]) ? args[1 - idx] : Fvconcat (2, args)); | 361 | (NILP (args[idx]) ? args[1 - idx] |
| 362 | : CALLMANY (Fvconcat, args))); | ||
| 362 | } | 363 | } |
| 363 | } | 364 | } |
| 364 | 365 | ||
| @@ -1432,12 +1433,8 @@ appended. By default, FONT-SPEC overrides the previous settings. */) | |||
| 1432 | } | 1433 | } |
| 1433 | else if (STRINGP (font_spec)) | 1434 | else if (STRINGP (font_spec)) |
| 1434 | { | 1435 | { |
| 1435 | Lisp_Object args[2]; | ||
| 1436 | |||
| 1437 | fontname = font_spec; | 1436 | fontname = font_spec; |
| 1438 | args[0] = QCname; | 1437 | font_spec = CALLN (Ffont_spec, QCname, fontname); |
| 1439 | args[1] = font_spec; | ||
| 1440 | font_spec = Ffont_spec (2, args); | ||
| 1441 | } | 1438 | } |
| 1442 | else if (FONT_SPEC_P (font_spec)) | 1439 | else if (FONT_SPEC_P (font_spec)) |
| 1443 | fontname = Ffont_xlfd_name (font_spec, Qnil); | 1440 | fontname = Ffont_xlfd_name (font_spec, Qnil); |