Fix \end buffer position passed to hooks.

* latex.el (LaTeX-insert-environment): Pass correct \end buffer
position to hooks in LaTeX-after-insert-env-hooks.
Use `push-mark' instead of `set-mark'.

* tex-info.el (Texinfo-mark-environment, Texinfo-mark-section)
(Texinfo-mark-node): Use `push-mark' instead of `set-mark'.

* latex.el (LaTeX-mark-environment): Ditto.

* context.el (ConTeXt-mark-environment): Ditto.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Rename LaTeX-amstext-package-option to LaTeX-amstext-package-options.

* style/amstext.el (LaTeX-amstext-package-options): Rename from
`LaTeX-amstext-package-option'.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Docstring fix.

* texmathp.el (texmathp-tex-commands-default): Move equation*
environment to AMS-LaTeX section.
(texmathp-why): Fix docstring.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Avoid duplicate marks in TeX-insert-dollar.

* tex.el (featurep): Activate mark in the GNU Emacs version of
TeX-activate-mark instead of being a no-op.
(TeX-insert-dollar): Use set-mark instead of push-mark in order to
avoid duplicate marks.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>