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