[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, obsolete-font-latex-update-font-lock,
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, obsolete-font-latex-update-font-lock, updated. 9c105a2d76d39b54f42e4a0eefcf6388533176a7 |
Date: |
Thu, 11 Jun 2020 02:51:40 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".
The branch, obsolete-font-latex-update-font-lock has been updated
via 9c105a2d76d39b54f42e4a0eefcf6388533176a7 (commit)
from 54bb7c1849778ed307dc619057a70e4a0a4a5b26 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9c105a2d76d39b54f42e4a0eefcf6388533176a7
Author: Tassilo Horn <tsdh@gnu.org>
Date: Thu Jun 11 08:51:10 2020 +0200
Trigger refontification in font-latex-add-to-syntax-alist.
* font-latex.el (font-latex-add-to-syntax-alist): Trigger refontification.
diff --git a/font-latex.el b/font-latex.el
index deb67a2..c74fa6c 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1228,7 +1228,10 @@ triggers Font Lock to recognize the change."
;; `font-latex-setup' in order to have `font-lock-defaults' be in sync.
(font-latex-setup)
(dolist (elt list)
- (modify-syntax-entry (car elt) (cdr elt) font-lock-syntax-table)))
+ (modify-syntax-entry (car elt) (cdr elt) font-lock-syntax-table))
+ ;; Trigger refontification.
+ (when (fboundp 'font-lock-flush)
+ (font-lock-flush)))
(defun font-latex-syntax-propertize-function (start end)
"The `syntax-propertize-function' for (La)TeX documents."
-----------------------------------------------------------------------
Summary of changes:
font-latex.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, obsolete-font-latex-update-font-lock, updated. 9c105a2d76d39b54f42e4a0eefcf6388533176a7,
Tassilo Horn <=