X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fc-indentation.el;h=90861d397978090e393b3b6154a518460d8aecab;hp=91114509150c682f48c25ea0d3b89f168af98da5;hb=e5676b8328a486565fc3c7f408a40beb4d47cd08;hpb=6c2c3e9ba9146ef8c9b1fd2b660357b657706969 diff --git a/doc/c-indentation.el b/doc/c-indentation.el index 9111450915..90861d3979 100644 --- a/doc/c-indentation.el +++ b/doc/c-indentation.el @@ -13,15 +13,14 @@ ; ; 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 . +) @@ -39,7 +38,8 @@ (label . -) (arglist-cont-nonempty . +) (topmost-intro . -) - (brace-list-close . +) - (brace-list-intro . +) + (brace-list-close . 0) + (brace-list-intro . 0) + (brace-list-open . +) ))))