Skip to content

Commit fd79a32

Browse files
committed
Don't set default-directory to nil
#3533 (comment)
1 parent 89ed540 commit fd79a32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cider-test.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,9 @@ running them."
757757
cider-test-report-buffer
758758
cider-auto-select-test-report-buffer)))
759759
(with-current-buffer b
760-
(setq-local default-directory nil))
760+
;; Change the default-directory so that it doesn't affect `sesman--linked-sessions` logic:
761+
(setq-local default-directory
762+
(with-current-buffer "*Messages*" default-directory)))
761763
(cider-test-render-report
762764
b
763765
summary

0 commit comments

Comments
 (0)