File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -824,7 +824,8 @@ It is safe to call this function multiple times on the same ID."
824
824
825
825
(defun nrepl-make-response-handler (buffer value-handler stdout-handler
826
826
stderr-handler done-handler
827
- &optional eval-error-handler )
827
+ &optional eval-error-handler
828
+ pprint-out-handler )
828
829
" Make a response handler for connection BUFFER.
829
830
A handler is a function that takes one argument - response received from
830
831
the server process. The response is an alist that contains at least 'id'
@@ -855,8 +856,8 @@ server responses."
855
856
(when stdout-handler
856
857
(funcall stdout-handler buffer out)))
857
858
(pprint-out
858
- (when stdout- handler
859
- ( funcall stdout-handler buffer pprint-out)))
859
+ (cond (pprint-out- handler ( funcall pprint-out-handler buffer pprint-out))
860
+ (stdout-handler ( funcall stdout-handler buffer pprint-out) )))
860
861
(err
861
862
(when stderr-handler
862
863
(funcall stderr-handler buffer err)))
You can’t perform that action at this time.
0 commit comments