Skip to content

Commit 7e59878

Browse files
committed
Fix some compilation warnings introduced by the previous commit
1 parent dd83634 commit 7e59878

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cider-repl.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,10 @@ Part of the default `cider-repl-content-type-handler-alist'."
862862
(cider-repl--image image 'png t)
863863
show-prefix bol image))
864864

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)
866866
"Handler for slurping external content into BUFFER.
867867
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))
869869
(access-type (nrepl-dict-get args "access-type")))
870870
(nrepl-send-request
871871
(list "op" "slurp" "url" (nrepl-dict-get args "URL"))
@@ -917,8 +917,8 @@ nREPL ops, it may be convenient to prevent inserting a prompt."
917917
(cider-repl-emit-result buffer pprint-out (not after-first-result-chunk))
918918
(setq after-first-result-chunk t))
919919
(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))
922922
(handler (cdr (assoc content-type*
923923
cider-repl-content-type-handler-alist))))
924924
(setq after-first-result-chunk t

0 commit comments

Comments
 (0)