I use Emacs for clojure development, because Swank-clojure is a great tool. But once I get an error on slime-repl buffer, the error remains, though I fixed it or it's no more.
Reproducing way:
$lein new myproject
.(defn f [] (+ 1 1))
M-x clojure-jack-in
.(f)
. Of course it returns 2
.(g)
. Of course it gets error Unable to resolve symbol: g in this context
My Environment:
Mac OS 10.7.3, Cocoa Emacs 23.4.1, clojure-mode 1.11.5(from a Marmalade), leiningen 1.7.0.
In order to confirm an error and close the debugger, hit Q
in the debugger window. (There may be restarts other than the QUIT
restart available, but this, at least, should always work.)