summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-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 3f2464f..0e8b849 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