Skip to content

Commit

Permalink
Don't set default-directory to nil
Browse files Browse the repository at this point in the history
  • Loading branch information
vemv committed Oct 18, 2023
1 parent 89ed540 commit fd79a32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cider-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,9 @@ running them."
cider-test-report-buffer
cider-auto-select-test-report-buffer)))
(with-current-buffer b
(setq-local default-directory nil))
;; Change the default-directory so that it doesn't affect `sesman--linked-sessions` logic:
(setq-local default-directory
(with-current-buffer "*Messages*" default-directory)))
(cider-test-render-report
b
summary
Expand Down

0 comments on commit fd79a32

Please sign in to comment.