-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtee3-c-style.el
49 lines (40 loc) · 1.51 KB
/
tee3-c-style.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
;;; tee3-c-style.el --- tee3's C/C++ style for c-mode
;; Keywords: c, tools
;; Package-Version: latest
;;; Commentary:
;; Provides the tee3 C/C++ coding style.
;;; Code:
;;;###autoload
(defconst tee3-c-style
'((c-basic-offset . 3)
(tab-width . 8)
(indent-tabs-mode . nil)
(c-doc-comment-style . ((c-mode . doxygen)
(c++-mode . doxygen)))
;; (c-comment-only-line-offset . 4)
;; (c-block-comment-prefix . X)
;; (c-comment-prefix . X)
;; (c-cleanup-list . (scope-operator
;; empty-defun-braces
;; defun-close-semi))
(c-hanging-braces-alist . ((brace-list-open)
(substatement-open before after)
(block-close . c-snug-do-while)))
;; (c-hanging-colons-alist . ((member-init-intro before)
;; (inher-intro)
;; (case-label after)
;; (label after)
;; (access-label after)))
;; (c-hanging-semi&comma-alist . ())
(c-backslash-column . 76)
(c-backslash-max-column . 152)
;; (c-special-indent-hook . nil)
;; (c-label-minimum-indentation . nil)
(c-offsets-alist . ((arglist-close . c-lineup-arglist)
(substatement-open . 0)
(inline-open . 0)
(case-label . +)))
)
"The tee3 C Programming Style.")
(provide 'tee3-c-style)
;;; tee3-c-style.el ends here