Permalink
Browse files

add toggle-debug-on-swank-error

  • Loading branch information...
1 parent 9c7e33e commit 8b4223580e4ea441d3c896d9abad5e495ecd95f7 @hugoduncan hugoduncan committed Mar 9, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/swank/commands/basic.clj
@@ -22,6 +22,9 @@
(defslimefn quit-lisp []
(System/exit 0))
+(defslimefn toggle-debug-on-swank-error []
+ (alter-var-root #'swank.core/*debug-swank-clojure* not))
+
;;;; Evaluation
(defn- eval-region

0 comments on commit 8b42235

Please sign in to comment.