File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -862,10 +862,10 @@ Part of the default `cider-repl-content-type-handler-alist'."
862
862
(cider-repl--image image 'png t )
863
863
show-prefix bol image))
864
864
865
- (defun cider-repl-handle-external-body (type buffer _ &optional show -prefix bol )
865
+ (defun cider-repl-handle-external-body (type buffer _ &optional _show -prefix _bol )
866
866
" Handler for slurping external content into BUFFER.
867
867
Handles an external-body TYPE by issuing a slurp request to fetch the content."
868
- (if-let* ((args (second type))
868
+ (if-let* ((args (cadr type))
869
869
(access-type (nrepl-dict-get args " access-type" )))
870
870
(nrepl-send-request
871
871
(list " op" " slurp" " url" (nrepl-dict-get args " URL" ))
@@ -917,8 +917,8 @@ nREPL ops, it may be convenient to prevent inserting a prompt."
917
917
(cider-repl-emit-result buffer pprint-out (not after-first-result-chunk))
918
918
(setq after-first-result-chunk t ))
919
919
(lambda (buffer value content-type )
920
- (if-let* ((content-attrs (second content-type))
921
- (content-type* (first content-type))
920
+ (if-let* ((content-attrs (cadr content-type))
921
+ (content-type* (car content-type))
922
922
(handler (cdr (assoc content-type*
923
923
cider-repl-content-type-handler-alist))))
924
924
(setq after-first-result-chunk t
You can’t perform that action at this time.
0 commit comments