1280849Scy;; This is how Dave Mills likes to see the NTP code formatted.
254359Sroberto
354359Sroberto(defconst ntp-c-style
4280849Scy  '((c-basic-offset  . 8)
5280849Scy    (fill-column     . 72)
654359Sroberto    (c-offsets-alist . ((arglist-intro	      . +)
754359Sroberto			(case-label	      . *)
854359Sroberto			(statement-case-intro . *)
954359Sroberto			(statement-cont	      . *)
1054359Sroberto			(substatement-open    . 0))))
11280849Scy  "David L. Mills; NTP code indentation style")
1254359Sroberto
1354359Sroberto(defun ntp-c-mode-common-hook ()
1454359Sroberto  ;; add ntp c style
1554359Sroberto  (c-add-style "ntp" ntp-c-style nil))
1654359Sroberto
1754359Sroberto(add-hook 'c-mode-common-hook 'ntp-c-mode-common-hook)
1854359Sroberto
1954359Sroberto;; 1997112600
20