I want to turn
void foo(){|}
{ Return }
into
<code>void foo()
{
|
}
</code>
<code>void foo()
{
|
}
</code>
void foo()
{
|
}
How can I achieve this in the most simple way possible? I’d rather not use “Auto-newline”.
I have tried all the different styles and it made no difference. I have a hacky function that I’m using for the time being but I’d like a better solution.
I’d appreciate any help as I’m losing my mind because I’m pretty sure this was working when I first used Emacs.
New contributor
badger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.