auctex-diffs
[Top][All Lists]
Advanced

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

main 88642317 053/257: Fix the subgroup number in a regex.


From: Tassilo Horn
Subject: main 88642317 053/257: Fix the subgroup number in a regex.
Date: Fri, 19 Apr 2024 15:36:23 -0400 (EDT)

branch: main
commit 88642317d12a79594dd9b9a9a4dd1ea3205a51dd
Author: Arash Esbati <esbati@gmx.de>
Commit: Tassilo Horn <tsdh@gnu.org>

    Fix the subgroup number in a regex.
    
    * latex.el (LaTeX-common-initialization): Fix the subgroup number
    in the regex for `\\(this\\)?pagestyle'
    
    Signed-off-by: Mosè Giordano <mose@gnu.org>
---
 ChangeLog | 5 +++++
 latex.el  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8c5930ec..3785df45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-14  Arash Esbati  <esbati@gmx.de>
+
+       * latex.el (LaTeX-common-initialization): Fix the subgroup number
+       in the regex for `\\(this\\)?pagestyle'
+
 2015-08-10  Tassilo Horn  <tsdh@gnu.org>
 
        * latex.el (TeX-latex-mode): Call LaTeX-preview-setup only if its
diff --git a/latex.el b/latex.el
index 5a0200a6..85615353 100644
--- a/latex.el
+++ b/latex.el
@@ -5931,7 +5931,7 @@ i.e. you do _not_ have to cater for this yourself by 
adding \\\\' or $."
                  ("\\\\renewenvironment\\*?{\\([A-Za-z]*\\)"
                   1 LaTeX-environment-list-filtered "}")
                   ("\\\\\\(this\\)?pagestyle{\\([A-Za-z]*\\)"
-                  1 LaTeX-pagestyle-list "}"))
+                  2 LaTeX-pagestyle-list "}"))
                TeX-complete-list))
 
   (LaTeX-add-environments



reply via email to

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