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-indent | Indentation level of declarations of C function arguments. |
c-brace-imaginary-offset | Imagined indentation of a C open brace that actually follows a statement. |
c-brace-offset | Extra indentation for braces, compared with other text in same context. |
c-continued-brace-offset | Extra indent for substatements that start with open-braces. |
c-continued-statement-offset | Extra indent for lines not starting new statements. |
c-indent-level | Indentation of C statements with respect to containing block. |
c-label-offset | Offset 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) |