Reputation: 59365
Is it possible in a Clojure REPL to stop the execution of a function without terminating the REPL session? How can I do this?
I'm using lein repl
in bash, if it matters. I'm using Leiningen 1.7.1
Upvotes: 12
Views: 3494
Reputation: 91554
For emacs users who come by this question later:
In Emacs + nrepl + lein2: hit ctrl c ctrl b to get back to your repl
Upvotes: 2
Reputation: 3752
Have you tried just Ctrl-C
? It should work in your case.
Update. I've downgraded to Leiningen version 1.7.1. And it really quits repl by Ctrl-C. You should upgrade lein as Bozhidar Batsov said.
Upvotes: 5