aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-02-02 11:28:02 -0500
committerJesús <heckyel@hyperbola.info>2019-02-02 11:28:02 -0500
commit57da3246a827715c67d93161765a2b75ddf7963c (patch)
tree514a595c9aeac1a3681884bc69cb99a32bdf449a /modules
parent5b3dff3c2ec0e5fb7eb4b3331ff1b6e35195873d (diff)
downloademacs-personal-57da3246a827715c67d93161765a2b75ddf7963c.tar.lz
emacs-personal-57da3246a827715c67d93161765a2b75ddf7963c.tar.xz
emacs-personal-57da3246a827715c67d93161765a2b75ddf7963c.zip
fix indent c-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