Skip to content

Commit d13f351

Browse files
authored
Fix error popup on pprint-eval-last-sexp
I have no idea why this works, but it seems to work.
1 parent 573b112 commit d13f351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cider-eval.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ This is used by pretty-printing commands."
915915
(cider-popup-buffer-quit-function t)))
916916
;; also call the default nrepl-err-handler, so that our custom behavior doesn't void the base behavior:
917917
(when nrepl-err-handler
918-
(funcall nrepl-err-handler buffer)))
918+
(funcall nrepl-err-handler (current-buffer))))
919919
;; content type handler:
920920
nil
921921
;; truncated handler:

0 commit comments

Comments
 (0)