> Can anyone tell me why my braces line up as follows:
>
> void method1( char *var21, int var2 )
> {
> return 2;
> }
>
This snippet of code seems to remove the spaces before "{"
(copied from my .emacs file, which has stuff copied from other people's
.emacs)
(defun my-java-hook ()
"My local settings for Java"
(c-set-style "java") ; I use this to set some defaults
(c-set-offset 'substatement-open 0)
)
(setq java-mode-hook 'my-java-hook)
-rchit
- K&R style braces Jeff Rancier
- Re: K&R style braces Rachit Siamwalla
- Re: K&R style braces Ben Coughenour
- Re: K&R style braces Jeff Rancier
- Re: K&R style braces Paul Kinnucan
- Re: K&R style braces Jeff Rancier
- File mode specification error Benjamin Shults
- Re: File mode specification error Phillip Lord
