1; This Emacs Lisp file defines a C indentation style that closely 2; follows most aspects of the one that is used throughout SSLeay, 3; and hence in OpenSSL. 4; 5; This definition is for the "CC mode" package, which is the default 6; mode for editing C source files in Emacs 20, not for the older 7; c-mode.el (which was the default in less recent releaes of Emacs 19). 8; --- 12 unchanged lines hidden (view full) --- 21; please send e-mail to bodo@openssl.org. 22 23(c-add-style "eay" 24 '((c-basic-offset . 8) 25 (c-comment-only-line-offset . 0) 26 (c-hanging-braces-alist) 27 (c-offsets-alist . ((defun-open . +) 28 (defun-block-intro . 0) |
29 (class-open . +) 30 (class-close . +) |
31 (block-open . 0) |
32 (block-close . 0) |
33 (substatement-open . +) |
34 (statement . 0) |
35 (statement-block-intro . 0) 36 (statement-case-open . +) 37 (statement-case-intro . +) 38 (case-label . -) 39 (label . -) |
40 (arglist-cont-nonempty . +) 41 (topmost-intro . -) 42 (brace-list-close . +) 43 (brace-list-intro . +) 44 )))) 45 |