diff options
| author | Stefan Monnier | 2015-09-20 15:53:51 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-09-20 15:53:51 -0400 |
| commit | dd1e6846198e559b1c2ca321a1e6f8b05945fd66 (patch) | |
| tree | 80611ab57585d9e48c6d7064185f28ffe77e267f | |
| parent | bf006d59e665e1289c8b4fd4fb519d478b5d87d6 (diff) | |
| download | emacs-dd1e6846198e559b1c2ca321a1e6f8b05945fd66.tar.gz emacs-dd1e6846198e559b1c2ca321a1e6f8b05945fd66.zip | |
* lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete
| -rw-r--r-- | etc/NEWS | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/syntax.el | 1 |
2 files changed, 3 insertions, 1 deletions
| @@ -867,7 +867,8 @@ a typographically-correct documents. | |||
| 867 | 867 | ||
| 868 | * Incompatible Lisp Changes in Emacs 25.1 | 868 | * Incompatible Lisp Changes in Emacs 25.1 |
| 869 | 869 | ||
| 870 | ** Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN | 870 | ** `syntax-begin-function' is declared obsolete. |
| 871 | Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN | ||
| 871 | slot in font-lock-defaults. | 872 | slot in font-lock-defaults. |
| 872 | 873 | ||
| 873 | +++ | 874 | +++ |
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index fee62149b38..95ed775f6b4 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.") | |||
| 374 | "Function to move back outside of any comment/string/paren. | 374 | "Function to move back outside of any comment/string/paren. |
| 375 | This function should move the cursor back to some syntactically safe | 375 | This function should move the cursor back to some syntactically safe |
| 376 | point (where the PPSS is equivalent to nil).") | 376 | point (where the PPSS is equivalent to nil).") |
| 377 | (make-obsolete-variable 'syntax-begin-function nil "25.1") | ||
| 377 | 378 | ||
| 378 | (defvar syntax-ppss-cache nil | 379 | (defvar syntax-ppss-cache nil |
| 379 | "List of (POS . PPSS) pairs, in decreasing POS order.") | 380 | "List of (POS . PPSS) pairs, in decreasing POS order.") |