I am using AUCTeX for editing in LaTeX, with
LaTeX-electric-left-right-brace enabled, so that when I press for example
C-c C-m \left in a math environment, the right brace is also automatically put in my expression.
My problem is that this automatically inserts a newline after the left brace and before the right brace, so that it looks like this for example:
with the point inserted in the middle. But I don't want that. I couldn't find anything about it in the Info documentation. Could anyone please tell me how to disable this behavior? (i.e. have the same but on one single line)