diff --git a/slamhound.el b/slamhound.el index 44d661c..95b4766 100644 --- a/slamhound.el +++ b/slamhound.el @@ -57,7 +57,7 @@ Requires active nrepl or slime connection." (interactive) (let* ((code (slamhound-clj-string buffer-file-name)) - (result (plist-get (nrepl-send-string-sync code) :stdout))) + (result (plist-get (nrepl-sync-request:eval code) :stdout))) (if (string-match "^:error \\(.*\\)" result) (error (match-string 1 result)) (goto-char (point-min))