summaryrefslogtreecommitdiff
path: root/doc/using_the_repl.md
diff options
context:
space:
mode:
authorRadon Rosborough <radon.neon@gmail.com>2016-12-10 20:50:06 -0800
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2016-12-19 17:13:50 +0200
commitce349eb24f2d635e46a1fd8f94f294ac353f263d (patch)
tree033f3697cd511b38e4c56790a492dfa4ebbfea3b /doc/using_the_repl.md
parenta68fd4a22bbd75f5dcdc993eddb289ae5d8e096e (diff)
[Fix #1872] Allow displaying REPL without focus
Diffstat (limited to 'doc/using_the_repl.md')
-rw-r--r--doc/using_the_repl.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/using_the_repl.md b/doc/using_the_repl.md
index 245f0674..2118ea05 100644
--- a/doc/using_the_repl.md
+++ b/doc/using_the_repl.md
@@ -70,6 +70,13 @@ Normally, the REPL buffer is auto-displayed in a separate window after
(setq cider-repl-pop-to-buffer-on-connect nil)
```
+If you want the REPL buffer to be auto-displayed, but don't want it to be
+focused, use this:
+
+```el
+(setq cider-repl-pop-to-buffer-on-connect 'display-only)
+```
+
#### Behavior on switch
By default <kbd>C-c C-z</kbd> will display the REPL buffer in a different window.