From a4824228fa89c5b1676666ff59481042cf084e5d Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 19 Sep 2011 10:25:35 +0200 Subject: [PATCH] * lread.c (Fread_from_string): Document what FINAL-STRING-INDEX is. Fixes: debbugs:9493 --- src/ChangeLog | 5 +++++ src/lread.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 8c223cc374e..12a45918e87 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-09-19 Lars Magne Ingebrigtsen + + * lread.c (Fread_from_string): Document what FINAL-STRING-INDEX is + (bug#9493). + 2011-09-18 Chong Yidong * xfns.c (Fx_create_frame): Handle the bitmapIcon resource as diff --git a/src/lread.c b/src/lread.c index 11c4cf8c8f4..2b1b49ab2fe 100644 --- a/src/lread.c +++ b/src/lread.c @@ -1965,6 +1965,8 @@ STREAM or the value of `standard-input' may be: DEFUN ("read-from-string", Fread_from_string, Sread_from_string, 1, 3, 0, doc: /* Read one Lisp expression which is represented as text by STRING. Returns a cons: (OBJECT-READ . FINAL-STRING-INDEX). +FINAL-STRING-INDEX is an integer giving the position of the next + remaining chararacter in STRING. START and END optionally delimit a substring of STRING from which to read; they default to 0 and (length STRING) respectively. */) (Lisp_Object string, Lisp_Object start, Lisp_Object end) -- 2.39.2