Skip to content

Commit d9e4400

Browse files
committed
Tweak the README a bit
1 parent eec15c4 commit d9e4400

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ Add the following to your Emacs config to enable
4646
(add-hook 'clojure-mode-hook #'inf-clojure-minor-mode)
4747
```
4848

49-
`inf-clojure-program` is a custom variable that defines a program to run
50-
or the tcp socket to connect to when starting `inf-clojure`. By default
51-
this var is set to `lein repl`, which will start a repl via leiningen.
52-
However, it is possible to use a cons pair like `("localhost" . 5555)` to
53-
connect to a socket repl like the one provided with [planck](http://planck-repl.org/),
54-
which can be started from the command line with `planck -n 5555`.
55-
5649
**Don't enable `inf-clojure-minor-mode` and `cider-mode` at the same
5750
time. They have overlapping functionality and keybindings and the
5851
result will be nothing short of havoc.**
@@ -61,6 +54,16 @@ result will be nothing short of havoc.**
6154

6255
`M-x inf-clojure` or `C-c C-z` within a Clojure source file.
6356

57+
`inf-clojure-program` is a custom variable that defines a program to run
58+
or the tcp socket to connect to when starting `inf-clojure`. By default
59+
this variable is set to `lein repl`, which will start a REPL via Leiningen.
60+
However, it is possible to use a cons pair like `("localhost" . 5555)` to
61+
connect to a socket REPL like the one provided with [planck](http://planck-repl.org/),
62+
which can be started from the command line with `planck -n 5555`.
63+
64+
Use `C-u C-c C-z` to start a REPL with a different command/cons pair than
65+
the default specified in `info-clojure-program`.
66+
6467
## ElDoc
6568

6669
`eldoc-mode` is supported in Clojure source buffers and `*inferior-clojure*`

0 commit comments

Comments
 (0)