help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: C-mode electric braces


From: Kai Großjohann
Subject: Re: C-mode electric braces
Date: Tue, 10 Sep 2002 14:11:31 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Carsten Burstedde <bursted@iam.uni-bonn.de> writes:

> Any suggestions for my .emacs?

I'm afraid you'll have to hack it yourself.  There is (AFAIK) no
predefined functionality in CC mode for doing this.

You could look at the function that gets called when you hit a brace
and then write a new function that looks whether newlines should be
inserted.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)


reply via email to

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