Mercurial > emacs
comparison src/coding.c @ 90599:c358d0861b16
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 414-422)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 128-130)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-108
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Tue, 05 Sep 2006 02:54:22 +0000 |
| parents | a965377e6761 6493d4697ad2 |
| children | 23c1467f8640 |
comparison
equal
deleted
inserted
replaced
| 90598:4a8681a3d827 | 90599:c358d0861b16 |
|---|---|
| 7459 DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region, | 7459 DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region, |
| 7460 2, 3, 0, | 7460 2, 3, 0, |
| 7461 doc: /* Detect coding system of the text in the region between START and END. | 7461 doc: /* Detect coding system of the text in the region between START and END. |
| 7462 Return a list of possible coding systems ordered by priority. | 7462 Return a list of possible coding systems ordered by priority. |
| 7463 | 7463 |
| 7464 If only ASCII characters are found, it returns a list of single element | 7464 If only ASCII characters are found (except for such ISO-2022 control |
| 7465 characters ISO-2022 as ESC), it returns a list of single element | |
| 7465 `undecided' or its subsidiary coding system according to a detected | 7466 `undecided' or its subsidiary coding system according to a detected |
| 7466 end-of-line format. | 7467 end-of-line format. |
| 7467 | 7468 |
| 7468 If optional argument HIGHEST is non-nil, return the coding system of | 7469 If optional argument HIGHEST is non-nil, return the coding system of |
| 7469 highest priority. */) | 7470 highest priority. */) |
| 7495 DEFUN ("detect-coding-string", Fdetect_coding_string, Sdetect_coding_string, | 7496 DEFUN ("detect-coding-string", Fdetect_coding_string, Sdetect_coding_string, |
| 7496 1, 2, 0, | 7497 1, 2, 0, |
| 7497 doc: /* Detect coding system of the text in STRING. | 7498 doc: /* Detect coding system of the text in STRING. |
| 7498 Return a list of possible coding systems ordered by priority. | 7499 Return a list of possible coding systems ordered by priority. |
| 7499 | 7500 |
| 7500 If only ASCII characters are found, it returns a list of single element | 7501 If only ASCII characters are found (except for such ISO-2022 control |
| 7502 characters ISO-2022 as ESC), it returns a list of single element | |
| 7501 `undecided' or its subsidiary coding system according to a detected | 7503 `undecided' or its subsidiary coding system according to a detected |
| 7502 end-of-line format. | 7504 end-of-line format. |
| 7503 | 7505 |
| 7504 If optional argument HIGHEST is non-nil, return the coding system of | 7506 If optional argument HIGHEST is non-nil, return the coding system of |
| 7505 highest priority. */) | 7507 highest priority. */) |
