branch: externals/auctex
commit 88642317d12a79594dd9b9a9a4dd1ea3205a51dd
Author: Arash Esbati <[email protected]>
Commit: Tassilo Horn <[email protected]>
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 <[email protected]>
---
ChangeLog | 5 +++++
latex.el | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8c5930e..3785df4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-14 Arash Esbati <[email protected]>
+
+ * latex.el (LaTeX-common-initialization): Fix the subgroup number
+ in the regex for `\\(this\\)?pagestyle'
+
2015-08-10 Tassilo Horn <[email protected]>
* latex.el (TeX-latex-mode): Call LaTeX-preview-setup only if its
diff --git a/latex.el b/latex.el
index 5a0200a..8561535 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