Correct substatement indentation in c-mode (fixes #342)

This commit is contained in:
Bozhidar Batsov 2013-07-13 13:55:58 +03:00
parent f341074dd8
commit d47293858c

View file

@ -36,7 +36,8 @@
(defun prelude-c-mode-common-defaults () (defun prelude-c-mode-common-defaults ()
(setq indent-tabs-mode t) (setq indent-tabs-mode t)
(setq c-basic-offset 4)) (setq c-basic-offset 4)
(c-set-offset 'substatement-open 0))
(setq prelude-c-mode-common-hook 'prelude-c-mode-common-defaults) (setq prelude-c-mode-common-hook 'prelude-c-mode-common-defaults)