Mercurial > dotfiles
comparison .elisp/clojure-paredit.el @ 7:9541f7e47514
Some edits to .emacs after my playing with Clojure, also added Clojure support files.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sun, 30 Nov 2008 20:50:18 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:66f8fcaee427 | 7:9541f7e47514 |
---|---|
1 (require 'clojure-auto) | |
2 | |
3 (autoload 'paredit-mode "paredit" "Parenthesis editing minor mode" t) | |
4 | |
5 (eval-after-load "clojure-mode" | |
6 '(progn | |
7 (defun clojure-paredit-hook () (paredit-mode +1)) | |
8 (add-hook 'clojure-mode-hook 'clojure-paredit-hook) | |
9 | |
10 (define-key clojure-mode-map "{" 'paredit-open-brace) | |
11 (define-key clojure-mode-map "}" 'paredit-close-brace))) | |
12 | |
13 (provide 'clojure-paredit) |