Use K&R as default style
This commit is contained in:
parent
2ca384b903
commit
977fa6318e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue