]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 20 Sep 2015 19:53:51 +0000 (15:53 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 20 Sep 2015 19:53:51 +0000 (15:53 -0400)
etc/NEWS
lisp/emacs-lisp/syntax.el

index 01b3ed3f2c15adf54e95ca3030be68405dbcf2dc..5cb1af99b565a756375ec0bf52807694a5bbd38d 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -867,7 +867,8 @@ a typographically-correct documents.
 \f
 * 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.
 
 +++
index fee62149b38c932bbf1cea008ff9fcbd55fda6fd..95ed775f6b43567a08ffc072f72947d0eb67c3ba 100644 (file)
@@ -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.")