File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,8 @@ entire session."
347
347
(let* ((repl (or repl
348
348
(sesman-browser-get 'object )
349
349
(cider-current-repl nil 'ensure )))
350
- (params (thread-first (cider--gather-connect-params nil repl)
350
+ (params (thread-first ()
351
+ (cider--gather-connect-params repl)
351
352
(plist-put :session-name (sesman-session-name-for-object 'CIDER repl))
352
353
(plist-put :repl-buffer repl))))
353
354
(cider--close-connection repl 'no-kill )
Original file line number Diff line number Diff line change @@ -991,11 +991,12 @@ server is created."
991
991
(interactive " P" )
992
992
(cider-nrepl-connect
993
993
(let* ((other-repl (or other-repl (cider-current-repl nil 'ensure )))
994
+ (other-params (cider--gather-connect-params nil other-repl))
994
995
(ses-name (unless (nrepl-server-p other-repl)
995
996
(sesman-session-name-for-object 'CIDER other-repl))))
996
997
(thread-first params
997
998
(cider--update-do-prompt)
998
- (cider--gather-connect-params other-repl )
999
+ (append other-params )
999
1000
(plist-put :repl-init-function nil )
1000
1001
(plist-put :repl-type " clj" )
1001
1002
(plist-put :session-name ses-name)))))
@@ -1009,12 +1010,13 @@ OTHER-REPL defaults to `cider-current-repl' but in programs can also be a
1009
1010
server buffer, in which case a new session for that server is created."
1010
1011
(interactive " P" )
1011
1012
(let* ((other-repl (or other-repl (cider-current-repl nil 'ensure )))
1013
+ (other-params (cider--gather-connect-params nil other-repl))
1012
1014
(ses-name (unless (nrepl-server-p other-repl)
1013
1015
(sesman-session-name-for-object 'CIDER other-repl))))
1014
1016
(cider-nrepl-connect
1015
1017
(thread-first params
1016
1018
(cider--update-do-prompt)
1017
- (cider--gather-connect-params other-repl )
1019
+ (append other-params )
1018
1020
(cider--update-cljs-type)
1019
1021
(cider--update-cljs-init-function)
1020
1022
(plist-put :session-name ses-name)
You can’t perform that action at this time.
0 commit comments