Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 698 Bytes

README.org

File metadata and controls

24 lines (16 loc) · 698 Bytes

cfengine-code-style

C code style for the CFEngine project, ref contribution guidelines.

Usage

To enable coding style for the current buffer:

M-x c-set-style cfengine

To enable coding style permanently, create file .dir-locals.el with the following contents in the directory with the source code:

((c-mode . ((c-file-style . "cfengine"))))

TODOs

Special rule for C99 (Foo) { 1, 2, 3 } initializers

Special rule for whitespace between if/while/for and parenthesis