emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/cider fd79a324d5 2/6: Don't set `default-directory` to nil


From: ELPA Syncer
Subject: [nongnu] elpa/cider fd79a324d5 2/6: Don't set `default-directory` to nil
Date: Wed, 18 Oct 2023 13:00:06 -0400 (EDT)

branch: elpa/cider
commit fd79a324d5a6050d6fe3ddad7610023f2d9e8d4e
Author: vemv <vemv@users.noreply.github.com>
Commit: vemv <vemv@users.noreply.github.com>

    Don't set `default-directory` to nil
    
    https://github.com/clojure-emacs/cider/issues/3533#issuecomment-1768701833
---
 cider-test.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cider-test.el b/cider-test.el
index e2ab1dbd58..d4e75e9b16 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]