branch: externals/auctex
commit 5d8ac9532d02247d6f403d9872d13cae86ceca9b
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
Cosmetic Change
* font-latex.el (font-latex-match-math-env): Quote "\[" with "\=" in
doc string.
(font-latex-add-to-syntax-alist): Delete duplicated line.
---
font-latex.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/font-latex.el b/font-latex.el
index 9296a1c..c3dda00 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1241,7 +1241,6 @@ The entries are added to `font-latex-syntax-alist' and
eventually
end up in `font-lock-defaults'. Each entry in LIST should be a
cons pair as expected by `font-lock-defaults'. The function also
triggers Font Lock to recognize the change."
- (make-local-variable 'font-latex-syntax-alist)
(set (make-local-variable 'font-latex-syntax-alist)
(append font-latex-syntax-alist list))
;; Tell font-lock about the update.
@@ -1813,7 +1812,7 @@ Each character is a string.")
"Match math pattern up to LIMIT.
Used for patterns like:
\\( F = ma \\)
-\\[ F = ma \\] but not \\\\ [len]"
+\\=\\[ F = ma \\] but not \\\\=\\[len]"
(catch 'match
(while (re-search-forward "\\(\\\\(\\)\\|\\(\\\\\\[\\)" limit t)
(unless (save-excursion