Revision 16192,
496 bytes
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r16191,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | ;; This is how Dave Mills likes to see the code formatted. |
---|
2 | |
---|
3 | (defconst ntp-c-style |
---|
4 | '((c-basic-offset . 8) |
---|
5 | (c-offsets-alist . ((arglist-intro . +) |
---|
6 | (case-label . *) |
---|
7 | (statement-case-intro . *) |
---|
8 | (statement-cont . *) |
---|
9 | (substatement-open . 0)))) |
---|
10 | "Dave L. Mills; programming style for use with ntp") |
---|
11 | |
---|
12 | (defun ntp-c-mode-common-hook () |
---|
13 | ;; add ntp c style |
---|
14 | (c-add-style "ntp" ntp-c-style nil)) |
---|
15 | |
---|
16 | (add-hook 'c-mode-common-hook 'ntp-c-mode-common-hook) |
---|
17 | |
---|
18 | ;; 1997112600 |
---|
Note: See
TracBrowser
for help on using the repository browser.