[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cider e0436e564d 1/2: Fix a bug recently introduced into `
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cider e0436e564d 1/2: Fix a bug recently introduced into `cider-locate-running-nrepl-ports` |
Date: |
Sun, 13 Aug 2023 18:58:59 -0400 (EDT) |
branch: elpa/cider
commit e0436e564db6571cbfa3c06e5ae079069021258d
Author: vemv <vemv@users.noreply.github.com>
Commit: vemv <vemv@users.noreply.github.com>
Fix a bug recently introduced into `cider-locate-running-nrepl-ports`
Closes https://github.com/clojure-emacs/cider/issues/3406
---
cider.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cider.el b/cider.el
index d666c6d54f..c180790361 100644
--- a/cider.el
+++ b/cider.el
@@ -1828,7 +1828,7 @@ When DIR is non-nil also look for nREPL port files in
DIR. Return a list
of list of the form (project-dir port)."
(let* ((pairs (cider--running-nrepl-paths))
(pairs (if-let (c (and dir (clojure-project-dir dir)))
- (cons (cider--path->path-port-pairs c) pairs)
+ (append (cider--path->path-port-pairs c) pairs)
pairs)))
(thread-last pairs
(delq nil)