view .elisp/clojure-paredit.el @ 55:846d556d9619

Add a custom _hg (modified off of recent crew) and fix up function path stuff in hg to improve my hg tab completions.
author Augie Fackler <durin42@gmail.com>
date Fri, 20 Feb 2009 11:47:12 -0600
parents 9541f7e47514
children
line wrap: on
line source

(require 'clojure-auto)

(autoload 'paredit-mode "paredit" "Parenthesis editing minor mode" t)

(eval-after-load "clojure-mode"
  '(progn
     (defun clojure-paredit-hook () (paredit-mode +1))
     (add-hook 'clojure-mode-hook 'clojure-paredit-hook)

     (define-key clojure-mode-map "{" 'paredit-open-brace)
     (define-key clojure-mode-map "}" 'paredit-close-brace)))

(provide 'clojure-paredit)