summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 0e8b849..87a1025 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-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")