Mercurial > emacs
changeset 66525:aaac09f838e0
(Fparse_partial_sexp): Fix docstring.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 29 Oct 2005 16:05:41 +0000 |
parents | 33e9ace34df4 |
children | 4edda6684b0a |
files | src/syntax.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/syntax.c Sat Oct 29 16:01:37 2005 +0000 +++ b/src/syntax.c Sat Oct 29 16:05:41 2005 +0000 @@ -3020,7 +3020,7 @@ point is set to where parsing stops. If fifth arg OLDSTATE is omitted or nil, parsing assumes that FROM is the beginning of a function. -Value is a list of ten elements describing final state of parsing: +Value is a list of elements describing final state of parsing: 0. depth in parens. 1. character address of start of innermost containing list; nil if none. 2. character address of start of last complete sexp terminated. @@ -3039,7 +3039,7 @@ in parentheses becomes equal to TARGETDEPTH. Fourth arg STOPBEFORE non-nil means stop when come to any character that starts a sexp. -Fifth arg OLDSTATE is a nine-element list like what this function returns. +Fifth arg OLDSTATE is a list like what this function returns. It is used to initialize the state of the parse. Elements number 1, 2, 6 and 8 are ignored; you can leave off element 8 (the last) entirely. Sixth arg COMMENTSTOP non-nil means stop at the start of a comment.