c-indent-one-line-block
c-indent-one-line-block is a compiled Lisp function in `cc-align.el
'.
(c-indent-one-line-block LANGELEM)
Indent a one line block `c-basic-offset' extra.
E.g.:
if (n > 0) if (n > 0)
{m+=n; n=0;} <-> { <- c-indent-one-line-block
<--> c-basic-offset m+=n; n=0;
}
The block may use any kind of parenthesis character. nil is returned
if the line doesn't start with a one line block, which makes the
function usable in list expressions.
Work with: Almost all syntactic symbols, but most useful on *-open.