> 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

Reply via email to