File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -702,13 +702,12 @@ buffer, defaults to (cider-current-connection)."
702
702
ns line column additional-params)
703
703
(cider-spinner-start connection)))
704
704
705
- (defun cider-nrepl-sync-request:eval (input &optional ns )
706
- " Send the INPUT to the nREPL server synchronously.
707
- If NS is non-nil, include it in the request."
708
- (nrepl-sync-request:eval
709
- input
710
- (cider-current-connection)
711
- ns))
705
+ (defun cider-nrepl-sync-request:eval (input &optional connection ns )
706
+ " Send the INPUT to the nREPL CONNECTION synchronously.
707
+ If NS is non-nil, include it in the eval request."
708
+ (nrepl-sync-request:eval input
709
+ (or connection (cider-current-connection))
710
+ ns))
712
711
713
712
(defcustom cider-pprint-fn 'pprint
714
713
" Sets the function to use when pretty-printing evaluation results.
You can’t perform that action at this time.
0 commit comments