cperl-electric-brace

cperl-electric-brace is an interactive compiled Lisp function in `cperl-mode.el'.


(cperl-electric-brace ARG &optional ONLY-BEFORE)

Insert character and correct line's indentation.
If ONLY-BEFORE and `cperl-auto-newline', will insert newline before the
place (even in empty line), but not after. If after ")" and the inserted
char is "{", insert extra newline before only if
`cperl-extra-newline-before-brace'.