summaryrefslogtreecommitdiffstats
path: root/emacs-style
blob: d66f865a09a67ea288abeb027ceeea9c90887f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
(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' ++)
			(c-set-offset 'inextern-lang' 0)
			)))
(setq c++-mode-hook c-mode-hook)