summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2005-10-29 16:05:41 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2005-10-29 16:05:41 +0000
commit0e6228bc0b37f297674f8b640077ba3615ea5876 (patch)
tree8655aeaccd5b225e18a786fa1d8a6a81474b0034 /src/syntax.c
parent0b6f31bf481737bc8e90ce3c7f11d599c42f34ee (diff)
downloademacs-0e6228bc0b37f297674f8b640077ba3615ea5876.tar.gz
(Fparse_partial_sexp): Fix docstring.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 2043cff63d6..251cc553cdf 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3020,7 +3020,7 @@ Parsing stops at TO or when certain criteria are met;
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 @@ If third arg TARGETDEPTH is non-nil, parsing stops if the depth
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.