summaryrefslogtreecommitdiff
path: root/src/editfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-13 23:41:47 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-13 23:41:47 -0700
commitcf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e (patch)
tree1bdb0fd052770b8c3b0c6ea83fb7c6a9bfdd5b85 /src/editfns.c
parentca4aa9359160557f8103639fc3c0ccb16c6ba8d2 (diff)
parent27fa387ad10e6a5639de1ab08e7559c06e9d802d (diff)
Merge from trunk.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c
index e3a7d1f7fa..6aba319d5b 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -194,8 +194,12 @@ DEFUN ("byte-to-string", Fbyte_to_string, Sbyte_to_string, 1, 1, 0,
}
DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0,
- doc: /* Convert arg STRING to a character, the first character of that string.
-A multibyte character is handled correctly. */)
+ doc: /* Return the first character in STRING.
+A multibyte character is handled correctly.
+The value returned is a Unicode codepoint if it is below #x110000 (in
+hex). Codepoints beyond that are Emacs extensions of Unicode. In
+particular, eight-bit characters are returned as codepoints in the
+range #x3FFF80 through #x3FFFFF, inclusive. */)
(register Lisp_Object string)
{
register Lisp_Object val;