monnier pushed a commit to branch externals/auctex
in repository elpa.
commit babe2242f594cef1d3a5c7fd9e01191ba8875361
Author: Ikumi Keita <[email protected]>
Date: Thu Oct 2 14:17:14 2014 +0200
Docstring fix.
* texmathp.el (texmathp-tex-commands-default): Move equation*
environment to AMS-LaTeX section.
(texmathp-why): Fix docstring.
Signed-off-by: Tassilo Horn <[email protected]>
---
ChangeLog | 6 ++++++
texmathp.el | 5 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 387e5f0..2ce2a0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2014-10-02 Ikumi Keita <[email protected]>
+ * texmathp.el (texmathp-tex-commands-default): Move equation*
+ environment to AMS-LaTeX section.
+ (texmathp-why): Fix docstring.
+
+2014-10-02 Ikumi Keita <[email protected]>
+
* style/amstext.el (LaTeX-amstext-package-options): Rename from
`LaTeX-amstext-package-option'.
diff --git a/texmathp.el b/texmathp.el
index 350406b..f13e237 100644
--- a/texmathp.el
+++ b/texmathp.el
@@ -117,7 +117,7 @@
("\\vcenter" arg-off)
;; Standard LaTeX
- ("equation" env-on) ("equation*" env-on)
+ ("equation" env-on)
("eqnarray" env-on) ("eqnarray*" env-on)
("math" env-on)
("displaymath" env-on)
@@ -132,6 +132,7 @@
("\\ensuremath" arg-on)
;; AMS-LaTeX
+ ("equation*" env-on)
("align" env-on) ("align*" env-on)
("gather" env-on) ("gather*" env-on)
("multline" env-on) ("multline*" env-on)
@@ -230,7 +231,7 @@ will be considered arguments of the macro independent of
its definition."
"After a call to `texmathp' this variable shows why math-mode is on or off.
The value is a cons cell (MATCH . POSITION).
MATCH is a string like a car of an entry in `texmathp-tex-commands', e.q.
-\"equation\" or \"\\ensuremath\" or \"\\[\" or \"$\".
+\"equation\" or \"\\ensuremath\" or \"\\=\\[\" or \"$\".
POSITION is the buffer position of the match. If there was no match,
it points to the limit used for searches, usually two paragraphs up.")