diff options
author | Lars Magne Ingebrigtsen <[email protected]> | 2011-09-19 10:25:35 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <[email protected]> | 2011-09-19 10:25:35 +0200 |
commit | a4824228fa89c5b1676666ff59481042cf084e5d (patch) | |
tree | a61e9a72014df0fb3568bd4d3b73c10b7ffdeec0 /src | |
parent | 713df35b6d579d4fd3674376e6092b0287dcc2a1 (diff) |
* lread.c (Fread_from_string): Document what FINAL-STRING-INDEX is.
Fixes: debbugs:9493
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/lread.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8c223cc374..12a45918e8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-09-19 Lars Magne Ingebrigtsen <[email protected]> + + * lread.c (Fread_from_string): Document what FINAL-STRING-INDEX is + (bug#9493). + 2011-09-18 Chong Yidong <[email protected]> * xfns.c (Fx_create_frame): Handle the bitmapIcon resource as diff --git a/src/lread.c b/src/lread.c index 11c4cf8c8f..2b1b49ab2f 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) |