diff --git a/modules/prelude-c.el b/modules/prelude-c.el index a9e3421..3bc8c76 100644 --- a/modules/prelude-c.el +++ b/modules/prelude-c.el @@ -35,7 +35,8 @@ (require 'prelude-programming) (defun prelude-c-mode-common-defaults () - (setq c-basic-offset 4) + (setq c-default-style "k&r" + c-basic-offset 4) (c-set-offset 'substatement-open 0)) (setq prelude-c-mode-common-hook 'prelude-c-mode-common-defaults)