--- a/.emacs-my Fri Nov 11 10:34:17 2011 +0200
+++ b/.emacs-my Fri Nov 11 10:54:18 2011 +0200
@@ -1823,11 +1823,11 @@
(defun my-c-mode-common-hook ()
;; Automatically inserte newlines after special characters such as brace, comma, semi-colon, and colon.
- (c-toggle-auto-newline 1)
+ (c-toggle-auto-newline -1)
;; Delete all preceding whitespace by DEL.
(c-toggle-hungry-state -1)
;; Auto indent after typing colon according to `c-hanging-colons-alist'.
- (c-toggle-electric-state -1)
+ (c-toggle-electric-state 1)
)
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)