PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/ntp/dot.emacs

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 18 lines | 14 code | 4 blank | 0 comment | 0 complexity | fe93cdb6f26e4ba3a68dff12a209903e MD5 | raw file
 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