This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: proper .emacs for gcc code?
- From: Tom Tromey <tromey at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: 24 Feb 2002 18:10:13 -0700
- Subject: Re: proper .emacs for gcc code?
- References: <863czq5wkz.fsf@megacz.com>
- Reply-to: tromey at redhat dot com
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
Adam> Does anybody know the magic incantation to get emacs to indent
Adam> code the way the gcc source tree does it?
I use this:
(add-hook 'java-mode-hook
(function
(lambda ()
(c-set-offset 'inline-open 0)
)))
Tom