File: cc-compat.el.html

Boring old c-mode.el (BOCM) is confusion and brain melt. cc-mode.el is clarity of thought and purity of chi. If you are still unwilling to accept enlightenment, this might help, or it may prolong your agony.

To use, add the following to your c-mode-hook:

(require 'cc-compat)
(c-set-style "BOCM")

This file is completely unsupported! Although it has been patched
superficially to keep pace with the rest of CC Mode, it hasn't been tested for a long time.

Defined variables (7)

c-argdecl-indentIndentation level of declarations of C function arguments.
c-brace-imaginary-offsetImagined indentation of a C open brace that actually follows a statement.
c-brace-offsetExtra indentation for braces, compared with other text in same context.
c-continued-brace-offsetExtra indent for substatements that start with open-braces.
c-continued-statement-offsetExtra indent for lines not starting new statements.
c-indent-levelIndentation of C statements with respect to containing block.
c-label-offsetOffset of C label lines and case statements relative to usual indentation.

Defined functions (3)

cc-block-close-offset(LANGELEM)
cc-block-intro-offset(LANGELEM)
cc-substatement-open-offset(LANGELEM)

Defined faces (0)