diff options
author | Alan Pearce | 2014-07-26 22:14:58 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-26 22:14:58 +0100 |
commit | 866a5c2f8bd10b8284d16fb8853078906a0fa5c0 (patch) | |
tree | c87a75a3406853da752d820ef1e3197e8f7f5892 | |
parent | 1438a338da1177242ca0cb4cc80dbe7edd3cc034 (diff) | |
download | nixfiles-866a5c2f8bd10b8284d16fb8853078906a0fa5c0.tar.lz nixfiles-866a5c2f8bd10b8284d16fb8853078906a0fa5c0.tar.zst nixfiles-866a5c2f8bd10b8284d16fb8853078906a0fa5c0.zip |
Emacs: Define minor mode for cedit
-rw-r--r-- | tag-emacs/emacs.d/init.el | 6 |
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 |