Skip to content

Commit

Permalink
switch to slime-repl after running clojure tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sroccaserra committed Oct 4, 2010
1 parent 42fc826 commit 3f20b1d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion smart-compile.el
Expand Up @@ -38,7 +38,11 @@
(replace-regexp-in-string "\\.clj$" "_test.clj")
(replace-regexp-in-string "/src/" "/test/")
find-file))
(clojure-test-run-tests))
(save-window-excursion
(with-current-buffer "*slime-repl clojure*"
(slime-repl-clear-buffer)))
(clojure-test-run-tests)
(slime-switch-to-output-buffer))
(t (when (y-or-n-p "Slime is not connected, open a terminal?")
(shell-command "cygterm&")))))
(make-or-rake ()
Expand Down

0 comments on commit 3f20b1d

Please sign in to comment.