]> git.eshelyaron.com Git - emacs.git/commitdiff
(Parsing Expressions): Update info on which STATE elements are ignored.
authorRichard M. Stallman <rms@gnu.org>
Sun, 21 May 2006 23:34:59 +0000 (23:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 21 May 2006 23:34:59 +0000 (23:34 +0000)
lispref/ChangeLog
lispref/syntax.texi

index 5399bdf91c78de58cf877bde30747ac72dd12f04..2acd2395561a45798681e3bef0bb54bc791fa3b2 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-21  Richard Stallman  <rms@gnu.org>
+
+       * syntax.texi (Parsing Expressions): Update info on which STATE
+       elements are ignored.
+
 2006-05-19  Luc Teirlinck  <teirllm@auburn.edu>
 
        * hooks.texi (Standard Hooks): Correct typo.
index 1575ebeb85038ce8a1e3fda7f01cfa0af5a6a54c..9a763b7357a8cb1a6363ed010d105deb59a19ed9 100644 (file)
@@ -662,10 +662,9 @@ string, or the end of a comment or a string, whichever comes first.
 
 @cindex parse state
 The fifth argument @var{state} is a ten-element list of the same form
-as the value of this function, described below.  (It is OK to omit the
-last two elements of this list.)  The return value of one call may be
-used to initialize the state of the parse on another call to
-@code{parse-partial-sexp}.
+as the value of this function, described below.  The return value of
+one call may be used to initialize the state of the parse on another
+call to @code{parse-partial-sexp}.
 
 The result is a list of ten elements describing the final state of
 the parse:
@@ -721,11 +720,13 @@ this element is @code{nil}.
 Internal data for continuing the parsing.  The meaning of this
 data is subject to change; it is used if you pass this list
 as the @var{state} argument to another call.
-
 @end enumerate
 
-Elements 0, 3, 4, 5, 7 and 9 are significant in the argument
-@var{state}.
+Elements 1, 2, and 6 are ignored in the argument @var{state}.  Element
+8 is used only to set the corresponding element of the return value,
+in certain simple cases.  Element 9 is used only to set element 1 of
+the return value, in trivial cases where parsing starts and stops
+within the same pair of parentheses.
 
 @cindex indenting with parentheses
 This function is most often used to compute indentation for languages