# HG changeset patch # User Kenichi Handa # Date 1238138744 0 # Node ID f556415c326b6584a09c928345955632dc1d0dbb # Parent c8e6da2dab5766e45a878e72627f23d9951693b3 (Fdetect_coding_region, Fcoding_system_priority_list): Improve the docstrings. diff -r c8e6da2dab57 -r f556415c326b src/coding.c --- a/src/coding.c Thu Mar 26 22:15:13 2009 +0000 +++ b/src/coding.c Fri Mar 27 07:25:44 2009 +0000 @@ -8518,6 +8518,8 @@ 2, 3, 0, doc: /* Detect coding system of the text in the region between START and END. Return a list of possible coding systems ordered by priority. +The coding systems to try and their priorities follows what +the function `coding-system-priority-list' (which see) returns. If only ASCII characters are found (except for such ISO-2022 control characters as ESC), it returns a list of single element `undecided' @@ -9552,6 +9554,9 @@ DEFUN ("coding-system-priority-list", Fcoding_system_priority_list, Scoding_system_priority_list, 0, 1, 0, doc: /* Return a list of coding systems ordered by their priorities. +The list contains a subset of coding systems; i.e. coding systems +assigned to each coding category (see `coding-category-list'). + HIGHESTP non-nil means just return the highest priority one. */) (highestp) Lisp_Object highestp;