Skip to content

Commit 35c8429

Browse files
author
Bozhidar Batsov
committed
Code style
1 parent 2343efc commit 35c8429

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nrepl-client.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ DONE-HANDLER, and EVAL-ERROR-HANDLER as appropriate."
270270
(defun nrepl-default-handler (response)
271271
"Default handler which is invoked when no handler is found.
272272
Handles message contained in RESPONSE."
273-
(nrepl-dbind-response response (out value)
273+
(nrepl-dbind-response response (out _value)
274274
(cond
275275
(out
276276
(cider-repl-emit-interactive-output out)))))
@@ -401,9 +401,11 @@ This is bound for the duration of the handling of that message")
401401

402402

403403
(defun nrepl-current-host ()
404+
"Retrieve the current host."
404405
(if (and (stringp buffer-file-name)
405406
(file-remote-p buffer-file-name))
406-
tramp-current-host nrepl-host))
407+
tramp-current-host
408+
nrepl-host))
407409

408410
(defun nrepl-make-connection-buffer ()
409411
"Create an nREPL connection buffer."

0 commit comments

Comments
 (0)