# HG changeset patch # User Kenichi Handa # Date 1047554176 0 # Node ID 34d5ae26ea24f585bd12fde711238435237c61a4 # Parent f282235432d7c4020073b5dfb3d23b80a7221ec4 (Fdetect_coding_string): Fix docstring. diff -r f282235432d7 -r 34d5ae26ea24 src/coding.c --- a/src/coding.c Thu Mar 13 08:41:15 2003 +0000 +++ b/src/coding.c Thu Mar 13 11:16:16 2003 +0000 @@ -6358,8 +6358,11 @@ DEFUN ("detect-coding-string", Fdetect_coding_string, Sdetect_coding_string, 1, 2, 0, - doc: /* Detect coding system of the text in STRING. -Return a list of possible coding systems ordered by priority. + doc: /* Detect how the byte sequence in STRING is encoded. +Return a list of possible coding systems used on decoding a byte +sequence containing the bytes in STRING when the coding system +`undecided' is specified. The list is ordered by priority decided in +the current language environment. If only ASCII characters are found, it returns a list of single element `undecided' or its subsidiary coding system according to a detected