summaryrefslogtreecommitdiff
path: root/cider-connection.el
diff options
context:
space:
mode:
Diffstat (limited to 'cider-connection.el')
-rw-r--r--cider-connection.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-connection.el b/cider-connection.el
index ca10d8b5..5b2c1516 100644
--- a/cider-connection.el
+++ b/cider-connection.el
@@ -70,7 +70,7 @@ PARAMS is a plist containing :host, :port, :server and other parameters for
(defun cider-connected-p ()
"Return t if CIDER is currently connected, nil otherwise."
- (sesman-has-links-p 'CIDER))
+ (process-live-p (get-buffer-process (cider-current-repl))))
(defun cider-ensure-connected ()
"Ensure there is a linked CIDER session."