]> git.eshelyaron.com Git - emacs.git/commit
Test electric.el in plainer c-mode without c-electric-{brace,paren}
authorJoão Távora <joaotavora@gmail.com>
Sat, 22 Dec 2018 22:27:27 +0000 (22:27 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 23 Dec 2018 20:42:17 +0000 (20:42 +0000)
commitfae3e7c0d8119455a186b31fde54472d5dbcf6b1
tree10bd39c6277693a4e0bb508ac6da389da87e5390
parente4ef7a2e2a480b9e1d6a8a869ffa8a7459abe9bd
Test electric.el in plainer c-mode without c-electric-{brace,paren}

If cc-mode ever drops/changes its usage of c-electric-{brace,paren}
test that electric pairing, layout and indentation based on
electric.el keep working.

* test/lisp/electric-tests.el
(electric-layout-int-main-kernel-style)
(electric-layout-int-main-allman-style): Change order of after and
after-stay.
(plainer-c-mode): New test mode.
(electric-modes-in-c-mode-with-self-insert-command): New test.
test/lisp/electric-tests.el