diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/fontset.c b/src/fontset.c index 6ca64068717..e72354078ca 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -1442,23 +1442,26 @@ DEFUN ("set-fontset-font", Fset_fontset_font, Sset_fontset_font, 3, 5, 0, | |||
| 1442 | doc: /* | 1442 | doc: /* |
| 1443 | Modify fontset NAME to use FONT-SPEC for TARGET characters. | 1443 | Modify fontset NAME to use FONT-SPEC for TARGET characters. |
| 1444 | 1444 | ||
| 1445 | NAME is a fontset name string, nil for the fontset of FRAME, or t for | 1445 | NAME is a fontset name (a string), nil for the fontset of FRAME, |
| 1446 | the default fontset. | 1446 | or t for the default fontset. |
| 1447 | 1447 | ||
| 1448 | TARGET may be a single character to use FONT-SPEC for. | 1448 | TARGET may be a single character to use FONT-SPEC for. |
| 1449 | 1449 | ||
| 1450 | Target may be a cons (FROM . TO), where FROM and TO are characters. | 1450 | Target may be a cons (FROM . TO), where FROM and TO are characters. |
| 1451 | In that case, use FONT-SPEC for all characters in the range FROM | 1451 | In that case, use FONT-SPEC for all the characters in the range |
| 1452 | and TO (inclusive). | 1452 | between FROM and TO (inclusive). |
| 1453 | 1453 | ||
| 1454 | TARGET may be a script name symbol. In that case, use FONT-SPEC for | 1454 | TARGET may be a script symbol. In that case, use FONT-SPEC for |
| 1455 | all characters that belong to the script. | 1455 | all the characters that belong to the script. See the variable |
| 1456 | `script-representative-chars' for the list of known scripts. | ||
| 1456 | 1457 | ||
| 1457 | TARGET may be a charset. In that case, use FONT-SPEC for all | 1458 | TARGET may be a charset. In that case, use FONT-SPEC for all |
| 1458 | characters in the charset. | 1459 | the characters in the charset. See `list-character-sets' and |
| 1460 | `list-charset-chars' for the list of character sets and their | ||
| 1461 | characters. | ||
| 1459 | 1462 | ||
| 1460 | TARGET may be nil. In that case, use FONT-SPEC for any characters for | 1463 | TARGET may be nil. In that case, use FONT-SPEC for any character for |
| 1461 | that no FONT-SPEC is specified. | 1464 | which no font-spec is specified. |
| 1462 | 1465 | ||
| 1463 | FONT-SPEC may one of these: | 1466 | FONT-SPEC may one of these: |
| 1464 | * A font-spec object made by the function `font-spec' (which see). | 1467 | * A font-spec object made by the function `font-spec' (which see). |
| @@ -1468,11 +1471,11 @@ FONT-SPEC may one of these: | |||
| 1468 | * A font name string. | 1471 | * A font name string. |
| 1469 | * nil, which explicitly specifies that there's no font for TARGET. | 1472 | * nil, which explicitly specifies that there's no font for TARGET. |
| 1470 | 1473 | ||
| 1471 | Optional 4th argument FRAME is a frame or nil for the selected frame | 1474 | Optional 4th argument FRAME is a frame, or nil for the selected frame, |
| 1472 | that is concerned in the case that NAME is nil. | 1475 | to be considered in the case that NAME is nil. |
| 1473 | 1476 | ||
| 1474 | Optional 5th argument ADD, if non-nil, specifies how to add FONT-SPEC | 1477 | Optional 5th argument ADD, if non-nil, specifies how to add FONT-SPEC |
| 1475 | to the font specifications for TARGET previously set. If it is | 1478 | to the previously set font specifications for TARGET. If it is |
| 1476 | `prepend', FONT-SPEC is prepended. If it is `append', FONT-SPEC is | 1479 | `prepend', FONT-SPEC is prepended. If it is `append', FONT-SPEC is |
| 1477 | appended. By default, FONT-SPEC overrides the previous settings. */) | 1480 | appended. By default, FONT-SPEC overrides the previous settings. */) |
| 1478 | (Lisp_Object name, Lisp_Object target, Lisp_Object font_spec, Lisp_Object frame, Lisp_Object add) | 1481 | (Lisp_Object name, Lisp_Object target, Lisp_Object font_spec, Lisp_Object frame, Lisp_Object add) |