* lisp/electric.el (electric-newline-and-maybe-indent): New command.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Mar 2014 17:14:45 +0000 (13:14 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Mar 2014 17:14:45 +0000 (13:14 -0400)
commit494ec1e71d7f725534be9a5518f0a2bdfe35d2c3
tree119fdfb556c38c5b260d9e8046bc1a0510196ddf
parent049fac7c941e4b7afad0471c209dc15193460282
* lisp/electric.el (electric-newline-and-maybe-indent): New command.
Bind it globally to C-j.
(electric-indent-mode): Don't mess with the global map any more.
Don't drop the post-self-insert-hook is some buffer is still using it.
* lisp/bindings.el (global-map): Remove C-j binding.

Fixes: debbugs:16770
admin/FOR-RELEASE
doc/misc/vip.texi
lisp/ChangeLog
lisp/bindings.el
lisp/electric.el