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

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

[elpa] externals/auctex bff3d85 01/34: ; Delete unnecessary escaping of


From: Tassilo Horn
Subject: [elpa] externals/auctex bff3d85 01/34: ; Delete unnecessary escaping of characters
Date: Sun, 6 Jun 2021 11:40:00 -0400 (EDT)

branch: externals/auctex
commit bff3d852eb790266cfa55a69fcd877f67780a2df
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Delete unnecessary escaping of characters
    
    * font-latex.el (font-latex-set-syntactic-keywords): Remove
    escaping of not special characters in a character alternative.
---
 font-latex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/font-latex.el b/font-latex.el
index df38b69..4352ac1 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1024,7 +1024,7 @@ have changed."
            ;; argument and allows for up to one level of brackets
            ;; inside the argument (e.g., the dialect of a language in
            ;; the `lstlisting' environment by the `listings' package).
-           "\\(?:\\[[^\]\[]*\\(?:\\[[^\]\[]*\\][^\]\[]*\\)*\\]\\)?"
+           "\\(?:\\[[^][]*\\(?:\\[[^][]*\\][^][]*\\)*\\]\\)?"
            ;; After the optional argument, there may also be another
            ;; mandatory argument(s) (e.g. with VerbatimOut or the
            ;; minted envs or defined with `lstnewenvironment').  Use



reply via email to

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