all repos — archive/dotfiles @ 55cf5ba5579f50c6ab021daad8a9808deaf49ac5

Superseded by nixfiles

Emacs: Enable cedit in c-style modes
Alan Pearce alan@alanpearce.co.uk
Sat, 26 Jul 2014 22:15:49 +0100
commit

55cf5ba5579f50c6ab021daad8a9808deaf49ac5

parent

866a5c2f8bd10b8284d16fb8853078906a0fa5c0

1 files changed, 2 insertions(+), 1 deletions(-)

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")