Hello,

I'm sending a trivial patch adding \newtheorem* to the commands defining
new environments.

Changelog entry:


2014-06-11  Thibaut Verron  <thibaut.verron <at> gmail.com>

        * latex.el: Added support for \newtheorem* definitions.


This is the first time I ever send a patch this way, I hope I didn't forgot
anything.

Bye,
Thibaut Verron
--- latex.el.old	2014-06-11 10:42:35.320791747 +0200
+++ latex.el	2014-06-11 10:42:22.174035739 +0200
@@ -1205,7 +1205,7 @@
 	(1 2) LaTeX-auto-env-args)
        (,(concat "\\\\newenvironment\\*?{?\\(" token "+\\)}?")
 	1 LaTeX-auto-environment)
-       (,(concat "\\\\newtheorem{\\(" token "+\\)}") 1 LaTeX-auto-environment)
+       (,(concat "\\\\newtheorem\\*?{\\(" token "+\\)}") 1 LaTeX-auto-environment)
        ("\\\\input{\\(\\.*[^#}%\\\\\\.\n\r]+\\)\\(\\.[^#}%\\\\\\.\n\r]+\\)?}"
 	1 TeX-auto-file)
        ("\\\\include{\\(\\.*[^#}%\\\\\\.\n\r]+\\)\\(\\.[^#}%\\\\\\.\n\r]+\\)?}"
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to