Skip to content

Commit 2343efc

Browse files
author
Bozhidar Batsov
committed
Minor refactoring
1 parent bc7d0bb commit 2343efc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cider-interaction.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ otherwise there is ambiguity as to which connection buffer should be selected.
198198
199199
If there are multiple connection buffers matching PROJECT-DIRECTORY there
200200
is ambiguity, therefore nil is returned."
201-
(when (not (car (-filter
202-
(lambda (conn)
203-
(not
204-
(with-current-buffer (get-buffer conn)
205-
nrepl-project-dir)))
206-
nrepl-connection-list)))
201+
(unless (-filter
202+
(lambda (conn)
203+
(not
204+
(with-current-buffer (get-buffer conn)
205+
nrepl-project-dir)))
206+
nrepl-connection-list)
207207
(let ((matching-connections
208208
(-filter
209209
(lambda (conn)

0 commit comments

Comments
 (0)