summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2003-03-13 11:32:18 +0000
committerKenichi Handa <handa@m17n.org>2003-03-13 11:32:18 +0000
commit40fd536ccc3095e395f6685219b994ab5cca3b20 (patch)
treea2d8667679e4e4af20bc2c005f269cd5f2ac5cc9 /src/coding.c
parenteec1f3c7942addd64435e889c3ac659a6284cc01 (diff)
downloademacs-40fd536ccc3095e395f6685219b994ab5cca3b20.tar.gz
(Fdetect_coding_region): Fix docstring.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index aea463bfaa0..b192f984489 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6314,8 +6314,11 @@ detect_coding_system (src, src_bytes, highest, multibytep)
DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region,
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.
+ doc: /* Detect how the byte sequence in the region is encoded.
+Return a list of possible coding systems used on decoding a byte
+sequence containing the bytes in the region between START and END 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