1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

Fstring_to_char doc clarification

* editfns.c (Fstring_to_char): Clarify just what is returned
(bug#6576).  Text by Eli Zaretskii.
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-14 01:48:35 +02:00
parent a28e4607f0
commit 837c31f830
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
* editfns.c (Fstring_to_char): Clarify just what is returned
(bug#6576). Text by Eli Zaretskii.
2011-07-13 Juanma Barranquero <lekktu@gmail.com>
* gnutls.c (init_gnutls_functions): Honor gnutls_log_level (bug#9059).

View file

@ -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;