Mads Jensen <[email protected]> writes:

Hi Mads,

> I updated amsthm a bit, and also added support for pagestyle
> completion via TeX-complete-list (sorry for merging this into one
> email, but the last change doesn't need a separate email, I think).

--8<---------------cut here---------------start------------->8---
+    (TeX-auto-add-type "amsthmstyle" "LaTeX")
+    (LaTeX-add-amsthmstyles "plain" "definition" "remark")
+
+    (defvar LaTeX-auto-savebox-regexp-list
+      '(("\\\\newtheoremstyle{\\\\([A-Za-z]+\\)}?" 1 LaTeX-auto-amsthmstyle))
+      "List of regular expressions matching AMS-LaTeX theoremstyles only.")
+
+    (setq TeX-complete-list
+          (append '(("\\\\newtheoremstyle{\\([A-Za-z]*\\)" 1
+                     LaTeX-amsthmstyle-list "}"))
+                  TeX-complete-list))
+
--8<---------------cut here---------------end--------------->8---

What's the purpose of the defvar `LaTeX-auto-savebox-regexp-list'?  It's
already defined.  And what do AMS theme styles have to do with
saveboxes?

The pagestyle-patch is fine and I've committed it.

Bye,
Tassilo


_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to