1*abb0f93cSkardel;; This is how Dave Mills likes to see the NTP code formatted. 2*abb0f93cSkardel 3*abb0f93cSkardel(defconst ntp-c-style 4*abb0f93cSkardel '((c-basic-offset . 8) 5*abb0f93cSkardel (fill-column . 72) 6*abb0f93cSkardel (c-offsets-alist . ((arglist-intro . +) 7*abb0f93cSkardel (case-label . *) 8*abb0f93cSkardel (statement-case-intro . *) 9*abb0f93cSkardel (statement-cont . *) 10*abb0f93cSkardel (substatement-open . 0)))) 11*abb0f93cSkardel "David L. Mills; NTP code indentation style") 12*abb0f93cSkardel 13*abb0f93cSkardel(defun ntp-c-mode-common-hook () 14*abb0f93cSkardel ;; add ntp c style 15*abb0f93cSkardel (c-add-style "ntp" ntp-c-style nil)) 16*abb0f93cSkardel 17*abb0f93cSkardel(add-hook 'c-mode-common-hook 'ntp-c-mode-common-hook) 18*abb0f93cSkardel 19*abb0f93cSkardel;; 1997112600 20