aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-05-21 23:34:59 +0000
committerRichard M. Stallman2006-05-21 23:34:59 +0000
commitc18eec5c991ca97cf48a33f1a5a07e1994305776 (patch)
treeb70eb7fde5d15735af37e730d58207df3e6badf0
parent21225d8f7eae2d0b2fd59099695afdaef1ceb866 (diff)
downloademacs-c18eec5c991ca97cf48a33f1a5a07e1994305776.tar.gz
emacs-c18eec5c991ca97cf48a33f1a5a07e1994305776.zip
(Parsing Expressions): Update info on which STATE elements are ignored.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/syntax.texi15
2 files changed, 13 insertions, 7 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 5399bdf91c7..2acd2395561 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
12006-05-21 Richard Stallman <rms@gnu.org>
2
3 * syntax.texi (Parsing Expressions): Update info on which STATE
4 elements are ignored.
5
12006-05-19 Luc Teirlinck <teirllm@auburn.edu> 62006-05-19 Luc Teirlinck <teirllm@auburn.edu>
2 7
3 * hooks.texi (Standard Hooks): Correct typo. 8 * hooks.texi (Standard Hooks): Correct typo.
diff --git a/lispref/syntax.texi b/lispref/syntax.texi
index 1575ebeb850..9a763b7357a 100644
--- a/lispref/syntax.texi
+++ b/lispref/syntax.texi
@@ -662,10 +662,9 @@ string, or the end of a comment or a string, whichever comes first.
662 662
663@cindex parse state 663@cindex parse state
664The fifth argument @var{state} is a ten-element list of the same form 664The fifth argument @var{state} is a ten-element list of the same form
665as the value of this function, described below. (It is OK to omit the 665as the value of this function, described below. The return value of
666last two elements of this list.) The return value of one call may be 666one call may be used to initialize the state of the parse on another
667used to initialize the state of the parse on another call to 667call to @code{parse-partial-sexp}.
668@code{parse-partial-sexp}.
669 668
670The result is a list of ten elements describing the final state of 669The result is a list of ten elements describing the final state of
671the parse: 670the parse:
@@ -721,11 +720,13 @@ this element is @code{nil}.
721Internal data for continuing the parsing. The meaning of this 720Internal data for continuing the parsing. The meaning of this
722data is subject to change; it is used if you pass this list 721data is subject to change; it is used if you pass this list
723as the @var{state} argument to another call. 722as the @var{state} argument to another call.
724
725@end enumerate 723@end enumerate
726 724
727Elements 0, 3, 4, 5, 7 and 9 are significant in the argument 725Elements 1, 2, and 6 are ignored in the argument @var{state}. Element
728@var{state}. 7268 is used only to set the corresponding element of the return value,
727in certain simple cases. Element 9 is used only to set element 1 of
728the return value, in trivial cases where parsing starts and stops
729within the same pair of parentheses.
729 730
730@cindex indenting with parentheses 731@cindex indenting with parentheses
731This function is most often used to compute indentation for languages 732This function is most often used to compute indentation for languages