electric-layout-mode

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


(electric-layout-mode &optional ARG)

Automatically insert newlines around some chars.
With a prefix argument ARG, enable Electric Layout mode if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil.
The variable `electric-layout-rules' says when and how to insert newlines.