;; set c style to linux and indention to 2
(setq c-default-style "linux"
c-basic-offset 2)
;; set max line length to 100
(add-hook 'c-mode-hook
(lambda ()
(set-fill-column 100)))