aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2003-03-13 11:16:16 +0000
committerKenichi Handa <[email protected]>2003-03-13 11:16:16 +0000
commiteec1f3c7942addd64435e889c3ac659a6284cc01 (patch)
treee2ae4ed30f58a305745e2c3c39641fd7fa5eefaa /src/coding.c
parentdb4b01921c689be38a5bf8f010d1a2a8f16c1b1e (diff)
(Fdetect_coding_string): 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 6b4a620a7d..aea463bfaa 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6358,8 +6358,11 @@ highest priority. */)
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