comparison src/coding.c @ 50121:71039837d881

(Fdetect_coding_region): Fix docstring.
author Kenichi Handa <handa@m17n.org>
date Thu, 13 Mar 2003 11:32:18 +0000
parents 34d5ae26ea24
children b64f1af6e142
comparison
equal deleted inserted replaced
50120:34d5ae26ea24 50121:71039837d881
6312 return (highest ? XCAR (val) : val); 6312 return (highest ? XCAR (val) : val);
6313 } 6313 }
6314 6314
6315 DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region, 6315 DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region,
6316 2, 3, 0, 6316 2, 3, 0,
6317 doc: /* Detect coding system of the text in the region between START and END. 6317 doc: /* Detect how the byte sequence in the region is encoded.
6318 Return a list of possible coding systems ordered by priority. 6318 Return a list of possible coding systems used on decoding a byte
6319 sequence containing the bytes in the region between START and END when
6320 the coding system `undecided' is specified. The list is ordered by
6321 priority decided in the current language environment.
6319 6322
6320 If only ASCII characters are found, it returns a list of single element 6323 If only ASCII characters are found, it returns a list of single element
6321 `undecided' or its subsidiary coding system according to a detected 6324 `undecided' or its subsidiary coding system according to a detected
6322 end-of-line format. 6325 end-of-line format.
6323 6326