Skip to content

Commit d79e4eb

Browse files
committed
Remove a redundant call to with-current-buffer
1 parent 2046b12 commit d79e4eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

inf-clojure.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,8 @@ Checks the mode and that there is a live process."
212212
"Return a list of all inf-clojure REPL buffers."
213213
(let (repl-buffers)
214214
(dolist (b (buffer-list))
215-
(with-current-buffer b
216-
(when (inf-clojure-repl-p)
217-
(push (buffer-name b) repl-buffers))))
215+
(when (inf-clojure-repl-p b)
216+
(push (buffer-name b) repl-buffers)))
218217
repl-buffers))
219218

220219
(defun inf-clojure-set-repl (always-ask)

0 commit comments

Comments
 (0)