branch: externals/auctex commit 07c2d23452b4523c6be9d44104752307af72db54 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Fix bug#20301 * style/mathtools.el (LaTeX-mathtools-env-multlined): Don't call newline-and-indent after inserting environment. --- ChangeLog | 5 +++++ style/mathtools.el | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 897c5f2..c86eda7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-04-11 Tassilo Horn <t...@gnu.org> + + * style/mathtools.el (LaTeX-mathtools-env-multlined): Don't call + newline-and-indent after inserting environment. + 2015-04-11 Arash Esbati <esb...@gmx.de> * Makefile.in (STYLESRC): Add new style. diff --git a/style/mathtools.el b/style/mathtools.el index 0890ce6..fc43a80 100644 --- a/style/mathtools.el +++ b/style/mathtools.el @@ -194,7 +194,6 @@ (setq width (concat LaTeX-optop width LaTeX-optcl)) (setq width "")) (setq extra (concat pos width)) - (LaTeX-insert-environment env extra) - (newline-and-indent))) + (LaTeX-insert-environment env extra))) ;;; mathtools.el ends here.