 
 ;; C coding style
 (setq c-default-style "linux"
-      c-basic-offset tab-width)
+      c-basic-offset tab-width
+      c-block-comment-prefix "* ")
 (global-set-key (kbd "M-RET") 'c-indent-new-comment-line)
+(setup-lazy '(c-turn-on-eldoc-mode) "c-eldoc"
+  (setq c-eldoc-buffer-regenerate-time 15))
+(setup-after "cc-mode"
+  (add-hook 'c++-mode-hook 'c-turn-on-eldoc-mode)
+  (add-hook 'c-mode-hook 'c-turn-on-eldoc-mode))
 
 (setup-after "auto-complete-config"
   (add-hook 'c-mode-hook

(add-hook 'mail-mode-hook 'turn-on-auto-fill)
(add-hook 'mail-mode-hook (lambda () (setq fill-column 72)))

;; shell stuff
(setq sh-basic-offset tab-width)

(provide 'setup-major-modes)

(setq css-indent-level 2)

;; eldoc, ie function signatures in the minibuffer
(setup-lazy '(turn-on-eldoc-mode) "eldoc"
  (setq eldoc-idle-delay 0.1
        eldoc-echo-area-use-multiline-p nil))
(setup-after "lisp-mode"
  (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode))

;; go
