[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b21f265 2/4: Document deprecation of font-latex-
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b21f265 2/4: Document deprecation of font-latex-update-font-lock |
Date: |
Mon, 29 Jun 2020 15:17:24 -0400 (EDT) |
branch: externals/auctex
commit b21f26507da2232e62ae63b34bc36ad645b4dc29
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Document deprecation of font-latex-update-font-lock
* doc/changes.texi: Document deprecation of font-latex-update-font-lock.
---
doc/changes.texi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/changes.texi b/doc/changes.texi
index 1c09683..bc2bfb6 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,16 @@
@itemize @bullet
@item
+The function @code{font-latex-update-font-lock} has been obsoleted in
+order to fix @samp{bug#37945}. That function was used by several style
+files in order to refresh fontification after adding new symbols or
+verbatim constructs. It is better to call @code{font-lock-flush} in the
+former case and @code{font-latex-set-syntactic-keywords} in the latter
+case. The function @code{font-latex-update-font-lock} still exists as a
+no-op which only shows a warning explaining how to update font-lock as
+mentioned above.
+
+@item
Math expression highlighting was improved. Highlighting for documents
with a lot of inline math expressions @samp{$...$} won't get scrambled
now (@samp{bug#33139}).