Mercurial > emacs
comparison src/coding.c @ 102737:f556415c326b
(Fdetect_coding_region, Fcoding_system_priority_list): Improve the
docstrings.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Fri, 27 Mar 2009 07:25:44 +0000 |
| parents | 82f82b92314e |
| children | 41e7ab490f69 |
comparison
equal
deleted
inserted
replaced
| 102736:c8e6da2dab57 | 102737:f556415c326b |
|---|---|
| 8516 | 8516 |
| 8517 DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region, | 8517 DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region, |
| 8518 2, 3, 0, | 8518 2, 3, 0, |
| 8519 doc: /* Detect coding system of the text in the region between START and END. | 8519 doc: /* Detect coding system of the text in the region between START and END. |
| 8520 Return a list of possible coding systems ordered by priority. | 8520 Return a list of possible coding systems ordered by priority. |
| 8521 The coding systems to try and their priorities follows what | |
| 8522 the function `coding-system-priority-list' (which see) returns. | |
| 8521 | 8523 |
| 8522 If only ASCII characters are found (except for such ISO-2022 control | 8524 If only ASCII characters are found (except for such ISO-2022 control |
| 8523 characters as ESC), it returns a list of single element `undecided' | 8525 characters as ESC), it returns a list of single element `undecided' |
| 8524 or its subsidiary coding system according to a detected end-of-line | 8526 or its subsidiary coding system according to a detected end-of-line |
| 8525 format. | 8527 format. |
| 9550 } | 9552 } |
| 9551 | 9553 |
| 9552 DEFUN ("coding-system-priority-list", Fcoding_system_priority_list, | 9554 DEFUN ("coding-system-priority-list", Fcoding_system_priority_list, |
| 9553 Scoding_system_priority_list, 0, 1, 0, | 9555 Scoding_system_priority_list, 0, 1, 0, |
| 9554 doc: /* Return a list of coding systems ordered by their priorities. | 9556 doc: /* Return a list of coding systems ordered by their priorities. |
| 9557 The list contains a subset of coding systems; i.e. coding systems | |
| 9558 assigned to each coding category (see `coding-category-list'). | |
| 9559 | |
| 9555 HIGHESTP non-nil means just return the highest priority one. */) | 9560 HIGHESTP non-nil means just return the highest priority one. */) |
| 9556 (highestp) | 9561 (highestp) |
| 9557 Lisp_Object highestp; | 9562 Lisp_Object highestp; |
| 9558 { | 9563 { |
| 9559 int i; | 9564 int i; |
