summaryrefslogtreecommitdiff
path: root/cider-client.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-06-24 08:50:44 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2018-06-24 08:51:30 +0300
commitfd6e7ea30cb908922be3f7b0acd756b4b9315b2a (patch)
tree3be8c5a35a2dd49796d32a31e4700b7d31901072 /cider-client.el
parent527466cb1dc73014b411a54a1c6c3061f68b7cfd (diff)
[#2203] Move cider-interrupt-handler to cider-client.el
Diffstat (limited to 'cider-client.el')
-rw-r--r--cider-client.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/cider-client.el b/cider-client.el
index c0e1aa1d..4c4863b8 100644
--- a/cider-client.el
+++ b/cider-client.el
@@ -291,7 +291,13 @@ The library is a string of the format \"group-id/artifact-id\"."
(and (equal group-id g) (equal artifact-id a))))
(cider-classpath-libs))))
-(declare-function cider-interrupt-handler "cider-interaction")
+
+;;; Interrupt evaluation
+
+(defun cider-interrupt-handler (buffer)
+ "Create an interrupt response handler for BUFFER."
+ (nrepl-make-response-handler buffer nil nil nil nil))
+
(defun cider-interrupt ()
"Interrupt any pending evaluations."
(interactive)