;; set c basic offset
(defun linux-c-mode ()
;"C mode with adjusted defaults for use with the Linux kernel."
(interactive)
(c-mode)
(c-set-style "K&R")
(setq c-basic-offset 8))
(setq auto-mode-alist
(append '(("
\\.h$" . linux-c-mode)
("
\\.c$" . linux-c-mode)
) auto-mode-alist))