   "C mode"
   (interactive)
   (c-set-style "K&R")
-  (setq-default indent-tabs-mode t)
+  (setq-local indent-tabs-mode t)
   (setq c-syntactic-indentation nil)
   (setq tab-width 4)
   (setq c-basic-offset 4))

  "Cpp mode"
  (interactive)
  (c-set-style "stroustrup")
  (setq-default indent-tabs-mode nil)
  (setq c-syntactic-indentation nil)
  (setq tab-width 4)
  (setq c-basic-offset 4))

  "C kernel mode"
  (interactive)
  (c-set-style "linux")
  (setq-local indent-tabs-mode t)
  (setq c-syntactic-indentation nil)
  (setq tab-width 8)
  (setq c-basic-offset 8))
