Skip to content

Commit

Permalink
use clojure-mode from ~/src if found
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnikeris committed Jul 30, 2012
1 parent 4afb16a commit 1ff9791
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/my-clojure-mode.el
@@ -1,8 +1,12 @@
(require 'my-package)
(require 'my-paredit)

(my-package-install-package 'clojure-mode)
(let ((src-dir (expand-file-name "~/src/clojure-mode")))
(if (file-readable-p src-dir)
(add-to-list 'load-path src-dir)
(my-package-install-package 'clojure-mode)))

(require 'clojure-mode)
(add-hook 'clojure-mode-hook 'paredit-mode)

(provide 'my-clojure-mode)

0 comments on commit 1ff9791

Please sign in to comment.