X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=doc%2Fc-indentation.el;h=90861d397978090e393b3b6154a518460d8aecab;hb=54ed003ace95df93c51f49fc0d6d446d957da97e;hp=9a4a0be598f05226741885f079221f7bb000f5d4;hpb=4c0c739288711c4fa6947b64c23c9fd3f1f44817;p=openssl.git diff --git a/doc/c-indentation.el b/doc/c-indentation.el index 9a4a0be598..90861d3979 100644 --- a/doc/c-indentation.el +++ b/doc/c-indentation.el @@ -13,24 +13,33 @@ ; ; Apparently statement blocks that are not introduced by a statement ; such as "if" and that are not the body of a function cannot -; be handled too well by CC mode with this indentation style. -; The style defined below does not indent them at all. -; To insert tabs manually, prefix them with ^Q (the "quoted-insert" -; command of Emacs). If you know a solution to this problem -; or find other problems with this indentation style definition, -; please send e-mail to bodo@openssl.org. +; be handled too well by CC mode with this indentation style, +; so you have to indent them manually (you can use C-q tab). +; +; For suggesting improvements, please send e-mail to bodo@openssl.org. (c-add-style "eay" '((c-basic-offset . 8) + (indent-tabs-mode . t) (c-comment-only-line-offset . 0) (c-hanging-braces-alist) (c-offsets-alist . ((defun-open . +) (defun-block-intro . 0) + (class-open . +) + (class-close . +) (block-open . 0) + (block-close . 0) (substatement-open . +) + (statement . 0) (statement-block-intro . 0) (statement-case-open . +) (statement-case-intro . +) (case-label . -) (label . -) - (arglist-cont-nonempty . +))))) + (arglist-cont-nonempty . +) + (topmost-intro . -) + (brace-list-close . 0) + (brace-list-intro . 0) + (brace-list-open . +) + )))) +