summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 3f2464f5..0e8b8497 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -944,6 +944,12 @@
 
 (defvar cedit-mode-map (make-sparse-keymap)
   "Keymap for the cedit minor mode.")
+(define-minor-mode cedit-mode
+  "Minor mode for paredit-style editing in c-style modes."
+  :lighter " Cedit")
+(defun turn-on-cedit-mode ()
+  (cedit-mode 1))
+
 (req-package cedit
   :diminish "{}"
   :config (progn