proper .emacs for gcc code?

Tom Tromey tromey@redhat.com
Sun Feb 24 18:16:00 GMT 2002


>>>>> "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



More information about the Java mailing list