Function: cider-map-connections
cider-map-connections is a function alias for cider-map-repls, defined
in cider-connection.el.
Signature
(cider-map-connections WHICH FUNCTION)
Documentation
Call FUNCTION once for each appropriate REPL as indicated by WHICH.
The function is called with one argument, the REPL buffer. The appropriate
connections are found by inspecting the current buffer. WHICH is either one of
the following keywords or a list starting with one of them followed by names of
operations that the REPL is expected to support:
:auto - Act on the connections whose type matches the current buffer. In
cljc files, mapping happens over both types of REPLs.
:clj (:cljs) - Map over clj (cljs)) REPLs only.
:clj-strict (:cljs-strict) - Map over clj (cljs) REPLs but signal a
user-error in clojurescript-mode (clojure-mode). Use this for
commands only supported in Clojure (ClojureScript).
Error is signaled if no REPL buffers of specified type exist in current
session.