summaryrefslogtreecommitdiff
path: root/emacs-style
blob: 283b6f0255341c4b32cc0511676e144ae2a3ba6d (plain)
1
2
3
4
5
6
7
8
9
10
(add-hook 'c-mode-hook
          (function (lambda ()
			(c-set-offset 'inclass' ++)
			(c-set-offset 'defun-block-intro' ++)
			(c-set-offset 'statement-block-intro' ++)
			(c-set-offset 'substatement' ++)
			(c-set-offset 'brace-list-intro' ++)
			(c-set-offset 'statement-case-intro' ++)
			)))
(setq c++-mode-hook c-mode-hook)