emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 303141a: Update documentation for obsoleting 'syn


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 303141a: Update documentation for obsoleting 'syntax-begin-function'
Date: Sun, 10 Jan 2016 18:06:53 +0000

branch: emacs-25
commit 303141ae6eddf690a851f917e285a40a2356021a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Update documentation for obsoleting 'syntax-begin-function'
    
    * doc/lispref/syntax.texi (Position Parse): Undocument
    'syntax-begin-function' that is now obsolete.
---
 doc/lispref/syntax.texi |   11 -----------
 etc/NEWS                |    1 +
 2 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi
index af24b99..19782d0 100644
--- a/doc/lispref/syntax.texi
+++ b/doc/lispref/syntax.texi
@@ -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.
-
address@hidden syntax-begin-function
-If this is address@hidden, it should be a function that moves to an
-earlier buffer position where the parser state is equivalent to
address@hidden 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.
address@hidden defvar
-
 @node Parser State
 @subsection Parser State
 @cindex parser state
diff --git a/etc/NEWS b/etc/NEWS
index 5feaa78..f5f3d86 100644
--- 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]