diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/charset.c b/src/charset.c index 9661bedb1b6..4a64b4e36c1 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1225,8 +1225,8 @@ CHARSET should be defined by `define-charset' in advance. */) | |||
| 1225 | true for a unibyte string. For a multibyte string, true if | 1225 | true for a unibyte string. For a multibyte string, true if |
| 1226 | it contains only ASCII characters. | 1226 | it contains only ASCII characters. |
| 1227 | 1227 | ||
| 1228 | 1: No charsets other than ascii, eight-bit-control, and | 1228 | 1: No charsets other than ascii, control-1, and latin-1 are |
| 1229 | latin-1 are found. | 1229 | found. |
| 1230 | 1230 | ||
| 1231 | 2: Otherwise. | 1231 | 2: Otherwise. |
| 1232 | */ | 1232 | */ |
| @@ -1302,7 +1302,7 @@ find_charsets_in_text (ptr, nchars, nbytes, charsets, table) | |||
| 1302 | } | 1302 | } |
| 1303 | } | 1303 | } |
| 1304 | 1304 | ||
| 1305 | 1305 | /* Fixme: returns nil for unibyte. */ | |
| 1306 | DEFUN ("find-charset-region", Ffind_charset_region, Sfind_charset_region, | 1306 | DEFUN ("find-charset-region", Ffind_charset_region, Sfind_charset_region, |
| 1307 | 2, 3, 0, | 1307 | 2, 3, 0, |
| 1308 | doc: /* Return a list of charsets in the region between BEG and END. | 1308 | doc: /* Return a list of charsets in the region between BEG and END. |
| @@ -1356,6 +1356,7 @@ only `ascii', `eight-bit-control', and `eight-bit-graphic'. */) | |||
| 1356 | return val; | 1356 | return val; |
| 1357 | } | 1357 | } |
| 1358 | 1358 | ||
| 1359 | /* Fixme: returns nil for unibyte. */ | ||
| 1359 | DEFUN ("find-charset-string", Ffind_charset_string, Sfind_charset_string, | 1360 | DEFUN ("find-charset-string", Ffind_charset_string, Sfind_charset_string, |
| 1360 | 1, 2, 0, | 1361 | 1, 2, 0, |
| 1361 | doc: /* Return a list of charsets in STR. | 1362 | doc: /* Return a list of charsets in STR. |
| @@ -1471,7 +1472,8 @@ decode_char (charset, code) | |||
| 1471 | Lisp_Object charset_work; | 1472 | Lisp_Object charset_work; |
| 1472 | 1473 | ||
| 1473 | /* Return a code-point of CHAR in CHARSET. If CHAR doesn't belong to | 1474 | /* Return a code-point of CHAR in CHARSET. If CHAR doesn't belong to |
| 1474 | CHARSET, return CHARSET_INVALID_CODE (CHARSET). */ | 1475 | CHARSET, return CHARSET_INVALID_CODE (CHARSET). If STRICT is true, |
| 1476 | use CHARSET's strict_max_char instead of max_char. */ | ||
| 1475 | 1477 | ||
| 1476 | unsigned | 1478 | unsigned |
| 1477 | encode_char (charset, c) | 1479 | encode_char (charset, c) |