From 866a5c2f8bd10b8284d16fb8853078906a0fa5c0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 26 Jul 2014 22:14:58 +0100 Subject: Emacs: Define minor mode for cedit --- tag-emacs/emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (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 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 -- cgit 1.4.1