Commit 539d8626 authored by Alan Mackenzie's avatar Alan Mackenzie

Remove inadvertent changes to syntax.texi in last commit.

* doc/lispref/syntax.texi (Position Parse): revert changes.
parent 8c18dcbc
...@@ -751,8 +751,7 @@ position. This function does that conveniently. ...@@ -751,8 +751,7 @@ position. This function does that conveniently.
@defun syntax-ppss &optional pos @defun syntax-ppss &optional pos
This function returns the parser state that the parser would reach at This function returns the parser state that the parser would reach at
position @var{pos} starting from the beginning of the visible portion position @var{pos} starting from the beginning of the buffer.
of the buffer.
@iftex @iftex
See the next section for See the next section for
@end iftex @end iftex
...@@ -763,11 +762,11 @@ for a description of the parser state. ...@@ -763,11 +762,11 @@ for a description of the parser state.
The return value is the same as if you call the low-level parsing The return value is the same as if you call the low-level parsing
function @code{parse-partial-sexp} to parse from the beginning of the function @code{parse-partial-sexp} to parse from the beginning of the
visible portion of the buffer to @var{pos} (@pxref{Low-Level buffer to @var{pos} (@pxref{Low-Level Parsing}). However,
Parsing}). However, @code{syntax-ppss} uses caches to speed up the @code{syntax-ppss} uses a cache to speed up the computation. Due to
computation. Due to this optimization, the second value (previous this optimization, the second value (previous complete subexpression)
complete subexpression) and sixth value (minimum parenthesis depth) in and sixth value (minimum parenthesis depth) in the returned parser
the returned parser state are not meaningful. state are not meaningful.
This function has a side effect: it adds a buffer-local entry to This function has a side effect: it adds a buffer-local entry to
@code{before-change-functions} (@pxref{Change Hooks}) for @code{before-change-functions} (@pxref{Change Hooks}) for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment