We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce55e36 commit 6b3c2b9Copy full SHA for 6b3c2b9
cider.el
@@ -547,9 +547,10 @@ gets associated with it."
547
(defun cider-select-endpoint ()
548
"Interactively select the host and port to connect to."
549
(dolist (ep cider-known-endpoints)
550
- (unless (stringp (nth ep 2))
+ (unless (stringp (or (nth 2 ep)
551
+ (nth 1 ep)))
552
(user-error "The port for %s in `cider-known-endpoints' should be a string"
- (nth ep 0))))
553
+ (nth 0 ep))))
554
(let* ((ssh-hosts (cider--ssh-hosts))
555
(hosts (seq-uniq (append (when cider-host-history
556
;; history elements are strings of the form "host:port"
0 commit comments