Skip to content

Commit

Permalink
Restore ability to reuse dead clj REPLs
Browse files Browse the repository at this point in the history
Fixes clojure-emacs#3353
Partially reverts 4004862
  • Loading branch information
yuhan0 committed Jun 15, 2023
1 parent ec97c88 commit 720d6b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cider-connection.el
Original file line number Diff line number Diff line change
Expand Up @@ -824,9 +824,8 @@ PARAMS is a plist as received by `cider-repl-create'."
(delq nil
(mapcar (lambda (b)
(let ((bparams (cider--gather-connect-params nil b)))
(when (and cljsp
(eq (plist-get bparams :repl-type)
'cljs))
(when (eq cljsp
(eq (plist-get bparams :repl-type) 'cljs))
(cons (buffer-name b)
(+
(if (equal proj-dir (plist-get bparams :project-dir)) 8 0)
Expand Down

0 comments on commit 720d6b8

Please sign in to comment.