Skip to content

Commit beb0035

Browse files
vspinubbatsov
authored andcommitted
Use seq-find instead of cl-some
1 parent 746e4d6 commit beb0035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cider-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ With a prefix arg SET-NAMESPACE sets the namespace in the REPL buffer to that
138138
of the namespace in the Clojure source buffer."
139139
(interactive "P")
140140
(let* ((connections (cider-connections))
141-
(buffer (cl-some (lambda (b) (and (member b connections) b))
142-
(buffer-list))))
141+
(buffer (seq-find (lambda (b) (member b connections))
142+
(buffer-list))))
143143
(cider--switch-to-repl-buffer buffer set-namespace)))
144144

145145
(declare-function cider-load-buffer "cider-interaction")

0 commit comments

Comments
 (0)