diff options
author | Jesús <heckyel@hyperbola.info> | 2019-02-02 11:28:02 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-02-02 11:28:02 -0500 |
commit | 57da3246a827715c67d93161765a2b75ddf7963c (patch) | |
tree | 514a595c9aeac1a3681884bc69cb99a32bdf449a /modules | |
parent | 5b3dff3c2ec0e5fb7eb4b3331ff1b6e35195873d (diff) | |
download | emacs-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.el | 9 |
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 |