summaryrefslogtreecommitdiff
path: root/emacs-style
blob: a0f16e2209dccc386886ac93c9ad099936e9ab29 (plain)
1
2
3
4
5
6
7
8
9
(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' ++)
			)))
(setq c++-mode-hook c-mode-hook)