aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2018-08-10 11:28:40 -0700
committerGlenn Morris2018-08-10 11:28:40 -0700
commitcaa4d9c4e7205cc62a9f414903e965494a703763 (patch)
treee2c7d913de302f0c5c1c497fe1e76d9f133fe0cb /src
parent243b68f73ff7cbb4d89a3f4a15a1cd38cfc14fae (diff)
parent5afbf62674e741b06c01216fe37a5439e9d42307 (diff)
downloademacs-caa4d9c4e7205cc62a9f414903e965494a703763.tar.gz
emacs-caa4d9c4e7205cc62a9f414903e965494a703763.zip
Merge from origin/emacs-26
5afbf62 Fix emacsclient check for term.el buffer (Bug#21041) 5132a58 Improve documentation of 'set-fontset-font' cd90325 Improve documentation of M-? 155a885 Reinterpret Esperanto characters in iso-transl as iso-8859-3. a0ef733 Fix Flyspell mode when several languages are mixed in a buffer
Diffstat (limited to 'src')
-rw-r--r--src/fontset.c27
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: /*
1443Modify fontset NAME to use FONT-SPEC for TARGET characters. 1443Modify fontset NAME to use FONT-SPEC for TARGET characters.
1444 1444
1445NAME is a fontset name string, nil for the fontset of FRAME, or t for 1445NAME is a fontset name (a string), nil for the fontset of FRAME,
1446the default fontset. 1446or t for the default fontset.
1447 1447
1448TARGET may be a single character to use FONT-SPEC for. 1448TARGET may be a single character to use FONT-SPEC for.
1449 1449
1450Target may be a cons (FROM . TO), where FROM and TO are characters. 1450Target may be a cons (FROM . TO), where FROM and TO are characters.
1451In that case, use FONT-SPEC for all characters in the range FROM 1451In that case, use FONT-SPEC for all the characters in the range
1452and TO (inclusive). 1452between FROM and TO (inclusive).
1453 1453
1454TARGET may be a script name symbol. In that case, use FONT-SPEC for 1454TARGET may be a script symbol. In that case, use FONT-SPEC for
1455all characters that belong to the script. 1455all the characters that belong to the script. See the variable
1456`script-representative-chars' for the list of known scripts.
1456 1457
1457TARGET may be a charset. In that case, use FONT-SPEC for all 1458TARGET may be a charset. In that case, use FONT-SPEC for all
1458characters in the charset. 1459the characters in the charset. See `list-character-sets' and
1460`list-charset-chars' for the list of character sets and their
1461characters.
1459 1462
1460TARGET may be nil. In that case, use FONT-SPEC for any characters for 1463TARGET may be nil. In that case, use FONT-SPEC for any character for
1461that no FONT-SPEC is specified. 1464which no font-spec is specified.
1462 1465
1463FONT-SPEC may one of these: 1466FONT-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
1471Optional 4th argument FRAME is a frame or nil for the selected frame 1474Optional 4th argument FRAME is a frame, or nil for the selected frame,
1472that is concerned in the case that NAME is nil. 1475to be considered in the case that NAME is nil.
1473 1476
1474Optional 5th argument ADD, if non-nil, specifies how to add FONT-SPEC 1477Optional 5th argument ADD, if non-nil, specifies how to add FONT-SPEC
1475to the font specifications for TARGET previously set. If it is 1478to 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
1477appended. By default, FONT-SPEC overrides the previous settings. */) 1480appended. 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)