From 55cf5ba5579f50c6ab021daad8a9808deaf49ac5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 26 Jul 2014 22:15:49 +0100 Subject: Emacs: Enable cedit in c-style modes --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs/emacs.d/init.el') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 0e8b8497..87a10253 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") -- cgit 1.4.1