emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 5d8ac95 25/42: Cosmetic Change


From: Tassilo Horn
Subject: [elpa] externals/auctex 5d8ac95 25/42: Cosmetic Change
Date: Thu, 23 Nov 2017 06:06:12 -0500 (EST)

branch: externals/auctex
commit 5d8ac9532d02247d6f403d9872d13cae86ceca9b
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]