Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vemv committed Jul 22, 2023
1 parent 04dbe2e commit d949671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cider.el
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,7 @@ server buffer, in which case a new session for that server is created."
(interactive "P")
(let* ((other-repl (or other-repl (cider-current-repl 'any 'ensure)))
(other-params (cider--gather-connect-params nil other-repl))
;; type-related params from the JVM conn are undesired for a cljs conn:
(other-params (thread-first other-params (map-delete :repl-type) (map-delete :cljs-repl-type)))
(ses-name (unless (nrepl-server-p other-repl)
(sesman-session-name-for-object 'CIDER other-repl))))
Expand Down

0 comments on commit d949671

Please sign in to comment.