[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-auto-newline question

From: Damien Wyart
Subject: Re: c-auto-newline question
Date: Thu, 10 Jan 2013 09:52:09 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50

* Luca Ferrari <> in
> I've configured c-auto-newline for my code editing, and it is great
> but I'd like to have the newline added when ";" is typed only if the
> following line is empty or not-existent yet. In other words, if I'm
> editing a line in the middle of the code, I don't want ";" to add an
> empty line if the following contains other code. Is this possible?

Yes, as explained here
this is possible.

You have to rely on the function c-semi&comma-no-newlines-before-nonblanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]