From: Chong Yidong Date: Thu, 21 Jul 2011 18:38:21 +0000 (-0400) Subject: Doc fix for string-to-char (Bug#6576). X-Git-Tag: emacs-pretest-24.0.90~104^2~180 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=da4adb048de353aebca7ec75548a7f94554f5073;p=emacs.git Doc fix for string-to-char (Bug#6576). * editfns.c (Fstring_to_char): No need to explain what a character is in the docstring. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1f0ebae2645..23ece8dfed5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-21 Chong Yidong + + * editfns.c (Fstring_to_char): No need to explain what a character + is in the docstring (Bug#6576). + 2011-07-20 Lars Magne Ingebrigtsen * xml.c (parse_region): Make sure we always return a tree. diff --git a/src/editfns.c b/src/editfns.c index b20c38faacd..56ad99d199f 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -194,12 +194,7 @@ 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: /* 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. */) + doc: /* Return the first character in STRING. */) (register Lisp_Object string) { register Lisp_Object val;