all repos — nixfiles @ 55cf5ba5579f50c6ab021daad8a9808deaf49ac5

System and user configuration, managed by nix and home-manager

Emacs: Enable cedit in c-style modes

Alan Pearce
commit

55cf5ba5579f50c6ab021daad8a9808deaf49ac5

parent

866a5c2f8bd10b8284d16fb8853078906a0fa5c0

1 file changed, 2 insertions(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -730,7 +730,8 @@
(req-package cc-mode :defer t :init (progn - (add-hook 'c-mode-common-hook #'electric-indent-mode)) + (add-hook 'c-mode-common-hook #'electric-indent-mode) + (add-hook 'c-mode-common-hook #'turn-on-cedit-mode)) :config (progn (setq c-default-style '((java-mode . "java") (awk-mode . "awk")