branch: elpa/cider
commit e0436e564db6571cbfa3c06e5ae079069021258d
Author: vemv <v...@users.noreply.github.com>
Commit: vemv <v...@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)

Reply via email to