diff options
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, | |||
| 194 | } | 194 | } |
| 195 | 195 | ||
| 196 | DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0, | 196 | DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0, |
| 197 | doc: /* Convert arg STRING to a character, the first character of that string. | 197 | doc: /* Return the first character in STRING. |
| 198 | A multibyte character is handled correctly. */) | 198 | A multibyte character is handled correctly. |
| 199 | The value returned is a Unicode codepoint if it is below #x110000 (in | ||
| 200 | hex). Codepoints beyond that are Emacs extensions of Unicode. In | ||
| 201 | particular, eight-bit characters are returned as codepoints in the | ||
| 202 | range #x3FFF80 through #x3FFFFF, inclusive. */) | ||
| 199 | (register Lisp_Object string) | 203 | (register Lisp_Object string) |
| 200 | { | 204 | { |
| 201 | register Lisp_Object val; | 205 | register Lisp_Object val; |