Commits

Moritz Heidkamp  committed 3df695a

some clojure config cleanup

  • Participants
  • Parent commits 0b5598d

Comments (0)

Files changed (1)

File my/clojure.el

 (add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode))
 (add-to-list 'auto-mode-alist '("\\.cljs$" . clojure-mode))
 
-(add-hook 'clojure-mode-hook (lambda () 
-                               (show-paren-mode t)
-                               (paredit-mode t)
-                               (highlight-parentheses-mode t)))
-
-
-(add-to-list 'load-path "/usr/share/emacs/site-lisp/swank-clojure")
-(require 'swank-clojure)
-
-(setq swank-clojure-jar-path "/usr/share/clojure/clojure.jar"
-      swank-clojure-extra-classpaths 
-      '("/usr/share/emacs/site-lisp/swank-clojure/src/swank"
-        "/usr/share/clojure/clojure-contrib.jar"))
+(add-hook 'clojure-mode-hook
+          (lambda () 
+            (show-paren-mode t)
+            (paredit-mode t)
+            (highlight-parentheses-mode t)))
 
 (eval-after-load 'clojure-mode
   '(define-clojure-indent
      (let-uri-parts 'defun)))
 
 ;; slime
-(eval-after-load "slime" 
+(eval-after-load 'slime
   '(progn (slime-setup '(slime-repl))))
-