File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 22
33## master (unreleased)
44
5+ ### New features
6+
7+ ### Changes
8+
9+ ### Bugs fixed
10+
11+ - [ #3832 ] ( https://github.com/clojure-emacs/cider/issues/3832 ) : Fix nrepl--eval-request sending duplicate info.
12+
513## 1.19.0 (2025-07-10)
614
715### New features
Original file line number Diff line number Diff line change @@ -1025,16 +1025,15 @@ Register CALLBACK as the response handler."
10251025NS provides context for the request.
10261026If LINE and COLUMN are non-nil and current buffer is a file buffer, \" line\" ,
10271027\" column\" and \" file\" are added to the message."
1028- (nconc (and ns `(" ns" , ns ))
1029- `(" op" " eval"
1030- " code" ,(substring-no-properties input))
1031- (when cider-enlighten-mode
1032- '(" enlighten" " true" ))
1033- (let ((file (or (buffer-file-name ) (buffer-name ))))
1034- (when (and line column file)
1035- `(" file" , file
1036- " line" , line
1037- " column" , column )))))
1028+ `(" op" " eval"
1029+ " code" ,(substring-no-properties input)
1030+ ,@(when ns `(" ns" , ns ))
1031+ ,@(when cider-enlighten-mode '(" enlighten" " true" ))
1032+ ,@(let ((file (or (buffer-file-name ) (buffer-name ))))
1033+ (when (and line column file)
1034+ `(" file" , file
1035+ " line" , line
1036+ " column" , column )))))
10381037
10391038(defun nrepl-request:eval (input callback connection &optional ns line column additional-params tooling )
10401039 " Send the request INPUT and register the CALLBACK as the response handler.
You can’t perform that action at this time.
0 commit comments