When I do indent-region in cperl-mode
if ($x) { next; }
Emacs reformats it to:
if ($x) { next; }
How can I make it stop doing that?
Note: the question originally said that this reformatting happens when yanking. I have yank setup to indent-region as well.
(setq cperl-break-one-line-blocks-when-indent nil)