]> git.eshelyaron.com Git - emacs.git/commit
Properly solve incompatibility between e-p-m, e-l-m and cc-mode scratch/resolve-cc-mode-and-e-p-m
authorJoão Távora <joaotavora@gmail.com>
Mon, 21 Jan 2019 12:59:02 +0000 (12:59 +0000)
committerJoão Távora <joaotavora@gmail.com>
Mon, 21 Jan 2019 12:59:02 +0000 (12:59 +0000)
commit7c0d312bcbb0fc52b4a58de549d8b249cc8410c7
tree68397251d9071485ad5aff5f11dc22ffb51be7ef
parent6bac9ea1770c0954adf5f4af660e94b5a0b09003
Properly solve incompatibility between e-p-m, e-l-m and cc-mode

* lisp/progmodes/cc-cmds.el (c--disable-fix-of-bug-33794): Remove.
(c--with-post-self-insert-hook-maybe): Remove.
(c-self-insert-command): New function.
(c-electric-pound, c-electric-brace, c-electric-slash)
(c-electric-star, c-electric-lt-gt, c-electric-paren): Use it.

* test/lisp/electric-tests.el (c--disable-fix-of-bug-33794):
Remove.
(electric-layout-int-main-kernel-style)
(electric-layout-int-main-allman-style): Don't set
c--disable-fix-of-bug-33794.
lisp/progmodes/cc-cmds.el
test/lisp/electric-tests.el