]> git.eshelyaron.com Git - emacs.git/commitdiff
Update documentation for obsoleting 'syntax-begin-function'
authorEli Zaretskii <eliz@gnu.org>
Sun, 10 Jan 2016 18:05:46 +0000 (20:05 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 10 Jan 2016 18:05:46 +0000 (20:05 +0200)
* doc/lispref/syntax.texi (Position Parse): Undocument
'syntax-begin-function' that is now obsolete.

doc/lispref/syntax.texi
etc/NEWS

index af24b996c0a37db6369da11023c8c9956ac772d6..19782d0fbde805f4feb590226d756cd338c99cfc 100644 (file)
@@ -787,17 +787,6 @@ used on hooks such as @code{before-change-functions} (@pxref{Change
 Hooks}).
 @end defun
 
-  Major modes can make @code{syntax-ppss} run faster by specifying
-where it needs to start parsing.
-
-@defvar syntax-begin-function
-If this is non-@code{nil}, it should be a function that moves to an
-earlier buffer position where the parser state is equivalent to
-@code{nil}---in other words, a position outside of any comment,
-string, or parenthesis.  @code{syntax-ppss} uses it to further
-optimize its computations, when the cache gives no help.
-@end defvar
-
 @node Parser State
 @subsection Parser State
 @cindex parser state
index 5feaa7860830f2d35ffd3f6bd73f877c682ae490..f5f3d86d98e6227bc6d934c5ba928d723a6afe89 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1171,6 +1171,7 @@ arguments.  The earlier behavior of silently supplying a nil to the
 last variable when there was an odd number of arguments has been
 eliminated.
 
++++
 ** `syntax-begin-function' is declared obsolete.
 Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN
 slot in font-lock-defaults.