diff options
author | Vitalie Spinu <spinuvit@gmail.com> | 2018-09-21 23:50:54 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2018-09-23 21:59:44 +0400 |
commit | 063b7b5d81cb2b0aa7e5f3339037740b9e00194b (patch) | |
tree | a57b775c079c53ef94e250c22ba81677c1c8d53b /doc | |
parent | 53e32b69a243bec242752da38b069120aa2324af (diff) |
[Fix #2439] Remove mentions of cider-toggle-connection-buffer from the docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/clojurescript.md | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/doc/clojurescript.md b/doc/clojurescript.md index ade0222a..53803e66 100644 --- a/doc/clojurescript.md +++ b/doc/clojurescript.md @@ -272,16 +272,8 @@ connection buffers, both `clj` and `cljs` (if present). Simply put - if you're evaluating the code `(+ 2 2)` in a `cljc` file and you have an active Clojure and and active ClojureScript REPL, then the code is going -to be evaluated 2 times - once for each of them. This behavior might be a bit -confusing, but that's what we came up with, when ruminating what was the most -logical thing to do out-of-the-box. - -This can be modified with <kbd>M-x</kbd> `cider-toggle-connection-buffer` -<kbd>RET</kbd>. Toggling this once will choose one of the connections as the -primary, and successive calls to <kbd>M-x</kbd> `cider-toggle-connection-buffer` -<kbd>RET</kbd> will alternate which connection to use. To restore evaluation to -both connections, invoke `cider-toggle-connection-buffer` with a prefix argument -(<kbd>C-u M-x</kbd> `cider-toggle-connection-buffer` <kbd>RET</kbd>). - -If there is only a Clojure connection, no toggling will happen and a message -will inform you that there are no other connections to switch to. +to be evaluated twice - once for each of the REPLs. In fact, you can create +multiple clj and cljs sibling connections (<kbd>C-c C-x C-s C-s/j</kbd>) within +Cider session and evaluation will be directed into all REPLs simultaneously. See +[Managing Connections](managing_connections.md) for more details. + |