Merge pull request #792 from marknsikora/c-style

Use K&R as default style
This commit is contained in:
Bozhidar Batsov 2015-02-04 08:09:34 +02:00
commit 9dd4b916bc

View file

@ -35,7 +35,8 @@
(require 'prelude-programming) (require 'prelude-programming)
(defun prelude-c-mode-common-defaults () (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)) (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)