summaryrefslogtreecommitdiff
path: root/cider-classpath.el
diff options
context:
space:
mode:
Diffstat (limited to 'cider-classpath.el')
-rw-r--r--cider-classpath.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/cider-classpath.el b/cider-classpath.el
index 335edd53..2e73d011 100644
--- a/cider-classpath.el
+++ b/cider-classpath.el
@@ -100,6 +100,8 @@
(defun cider-open-classpath-entry ()
"Open a classpath entry."
(interactive)
+ (cider-ensure-connected)
+ (cider-ensure-op-supported "classpath")
(when-let ((entry (completing-read "Classpath entries: " (cider-sync-request:classpath))))
(find-file-other-window entry)))