When I'm editing a LaTeX document and I'm using
C-c C-e for
LaTeX-environment, I often get a blank line after the newly-inserted environment. This is never what I want and sometimes even plainly wrong because it can lead to errors if you for example insert a matrix into a displayed equation.
Is there an easy way to turn this off? I checked the customization options but couldn't find anything obvious.