aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/init-ccc.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/init-ccc.el b/modules/init-ccc.el
index 6733f3e..3f82373 100644
--- a/modules/init-ccc.el
+++ b/modules/init-ccc.el
@@ -5,6 +5,15 @@
;;; Code:
;;----------------------------------------------------------------------------
+;; c Mode
+;;----------------------------------------------------------------------------
+(add-hook 'c-mode-hook
+ (lambda ()
+ (setq indent-tabs-mode t)
+ (setq c-basic-offset 4)
+ (setq tab-width 4)))
+
+;;----------------------------------------------------------------------------
;; c++ Mode
;;----------------------------------------------------------------------------
(add-hook 'c++-mode-hook