1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/contrib/ntp/dot.emacs
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

20 lines
521 B
Plaintext

;; This is how Dave Mills likes to see the NTP code formatted.
(defconst ntp-c-style
'((c-basic-offset . 8)
(fill-column . 72)
(c-offsets-alist . ((arglist-intro . +)
(case-label . *)
(statement-case-intro . *)
(statement-cont . *)
(substatement-open . 0))))
"David L. Mills; NTP code indentation style")
(defun ntp-c-mode-common-hook ()
;; add ntp c style
(c-add-style "ntp" ntp-c-style nil))
(add-hook 'c-mode-common-hook 'ntp-c-mode-common-hook)
;; 1997112600