emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master dd1e684: * lisp/emacs-lisp/syntax.el (syntax-begin-


From: Stefan Monnier
Subject: [Emacs-diffs] master dd1e684: * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete
Date: Sun, 20 Sep 2015 19:53:56 +0000

branch: master
commit dd1e6846198e559b1c2ca321a1e6f8b05945fd66
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete
---
 etc/NEWS                  |    3 ++-
 lisp/emacs-lisp/syntax.el |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 01b3ed3..5cb1af9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -867,7 +867,8 @@ a typographically-correct documents.
 
 * Incompatible Lisp Changes in Emacs 25.1
 
-** Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN
+** `syntax-begin-function' is declared obsolete.
+Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN
 slot in font-lock-defaults.
 
 +++
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index fee6214..95ed775 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -374,6 +374,7 @@ from each other, to avoid keeping too much useless info.")
   "Function to move back outside of any comment/string/paren.
 This function should move the cursor back to some syntactically safe
 point (where the PPSS is equivalent to nil).")
+(make-obsolete-variable 'syntax-begin-function nil "25.1")
 
 (defvar syntax-ppss-cache nil
   "List of (POS . PPSS) pairs, in decreasing POS order.")



reply via email to

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