Update documentation for obsoleting 'syntax-begin-function'
* doc/lispref/syntax.texi (Position Parse): Undocument 'syntax-begin-function' that is now obsolete.
This commit is contained in:
parent
4e6f61ce01
commit
303141ae6e
2 changed files with 1 additions and 11 deletions
|
@ -787,17 +787,6 @@ used on hooks such as @code{before-change-functions} (@pxref{Change
|
||||||
Hooks}).
|
Hooks}).
|
||||||
@end defun
|
@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
|
@node Parser State
|
||||||
@subsection Parser State
|
@subsection Parser State
|
||||||
@cindex parser state
|
@cindex parser state
|
||||||
|
|
1
etc/NEWS
1
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
|
last variable when there was an odd number of arguments has been
|
||||||
eliminated.
|
eliminated.
|
||||||
|
|
||||||
|
+++
|
||||||
** `syntax-begin-function' is declared obsolete.
|
** `syntax-begin-function' is declared obsolete.
|
||||||
Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN
|
Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN
|
||||||
slot in font-lock-defaults.
|
slot in font-lock-defaults.
|
||||||
|
|
Loading…
Add table
Reference in a new issue