summaryrefslogtreecommitdiffstats
path: root/emacs-mode
blob: 2c7abe9835652c711043a146c6a467a8cc797c24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; M-x load-file <this file>
;; or emacs -l <this file>
;; to use this style: C-c . apache
(c-add-style "apache"
	     '((inclass . ++)
	       (defun-block-intro . ++)
	       (statement-block-intro . ++)
	       (substatement . ++)
	       (brace-list-intro . ++)
	       (statement-case-intro . ++)
	       (inextern-lang . 0)
	       ))
(setq-default indent-tabs-mode nil)
;; if you forgot to do this at startup, then M-x eval-expression
;; (setq indent-tabs-mode nil) on each buffer