This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: proper .emacs for gcc code?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]