diff options
author | Alan Pearce | 2014-07-26 22:15:49 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-26 22:15:49 +0100 |
commit | 55cf5ba5579f50c6ab021daad8a9808deaf49ac5 (patch) | |
tree | 95930950c1b63d7b4047e60b9e22ef9429021cf6 | |
parent | 866a5c2f8bd10b8284d16fb8853078906a0fa5c0 (diff) | |
download | dotfiles-55cf5ba5579f50c6ab021daad8a9808deaf49ac5.tar.lz dotfiles-55cf5ba5579f50c6ab021daad8a9808deaf49ac5.tar.zst dotfiles-55cf5ba5579f50c6ab021daad8a9808deaf49ac5.zip |
Emacs: Enable cedit in c-style modes
-rw-r--r-- | tag-emacs/emacs.d/init.el | 3 |
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") |