mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
OpenSSL-II style for emacs: don't indent because of extern block
We don't want an indentation step inside a 'extern "C" {' .. '}' block. Apparently, cc-mode has a c-offsets-alist keyword to allow exactly this. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/6557)
This commit is contained in:
parent
5295b99b56
commit
8973112884
@ -54,6 +54,7 @@
|
||||
(arglist-close . c-lineup-arglist) ; From "gnu" style
|
||||
(inline-open . 0) ; From "gnu" style
|
||||
(brace-list-open . +) ; From "gnu" style
|
||||
(inextern-lang . 0) ; Don't indent inside extern block
|
||||
(topmost-intro-cont first c-lineup-topmost-intro-cont
|
||||
c-lineup-gnu-DEFUN-intro-cont) ; From "gnu" style
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user