monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 8864e82dd809d7808ce4822311ad428b075531cc
Author: Tassilo Horn <[email protected]>
Date: Wed Mar 6 11:56:10 2013 +0000
* latex.el (LaTeX-common-initialization): Added regular expression
for thispagestyle and pagestyle to `TeX-complete-list'.
---
ChangeLog | 5 +++++
latex.el | 4 +++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6ec462c..c48bfbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-06 Mads Jensen <[email protected]>
+
+ * latex.el (LaTeX-common-initialization): Added regular expression
+ for thispagestyle and pagestyle to `TeX-complete-list'.
+
2013-03-04 Tassilo Horn <[email protected]>
* latex.el (TeX-arg-date): New function.
diff --git a/latex.el b/latex.el
index 41de1b2..ad19ef3 100644
--- a/latex.el
+++ b/latex.el
@@ -5298,7 +5298,9 @@ i.e. you do _not_ have to cater for this yourself by
adding \\\\' or $."
("\\\\renewcommand\\*?{\\\\\\([A-Za-z]*\\)"
1 LaTeX-symbol-list "}")
("\\\\renewenvironment\\*?{\\([A-Za-z]*\\)"
- 1 LaTeX-environment-list "}"))
+ 1 LaTeX-environment-list "}")
+ ("\\\\\\(this\\)?pagestyle{\\([A-Za-z]*\\)"
+ 1 LaTeX-pagestyle-list "}"))
TeX-complete-list))
(LaTeX-add-environments