diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-13 23:41:47 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-13 23:41:47 -0700 |
commit | cf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e (patch) | |
tree | 1bdb0fd052770b8c3b0c6ea83fb7c6a9bfdd5b85 /src/editfns.c | |
parent | ca4aa9359160557f8103639fc3c0ccb16c6ba8d2 (diff) | |
parent | 27fa387ad10e6a5639de1ab08e7559c06e9d802d (diff) | |
download | emacs-cf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e.tar.gz emacs-cf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e.tar.bz2 emacs-cf950e6bbdeec3f6aab3e119f26f9cd5d962ac2e.zip |
Merge from trunk.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index e3a7d1f7fa1..6aba319d5b2 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; |