Skip to content

Commit 27fa243

Browse files
authored
Merge pull request #3895 from clojure-emacs/sync-request-err-handler-arity
Fix nrepl-err-handler-function arity in nrepl-send-sync-request
2 parents 0ff2841 + cffe349 commit 27fa243

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lisp/nrepl-client.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,8 +859,8 @@ command and e.g. notify the user about them."
859859
;; If we couldn't finish, return nil.
860860
(when (member "done" status)
861861
(nrepl-dbind-response response (ex err eval-error id)
862-
(when (and ex err eval-error)
863-
(funcall nrepl-err-handler-function))
862+
(when (and ex err eval-error nrepl-err-handler-function)
863+
(funcall nrepl-err-handler-function connection))
864864
(when id
865865
(with-current-buffer connection
866866
(nrepl--mark-id-completed id)))

0 commit comments

Comments
 (0)