Emacs: Define minor mode for cedit
Alan Pearce alan@alanpearce.co.uk
Sat, 26 Jul 2014 22:14:58 +0100
1 files changed, 6 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -944,6 +944,12 @@ (setq eldoc-idle-delay 0.1))) (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